XML 18 R7.htm IDEA: XBRL DOCUMENT v3.21.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2021
Dec. 31, 2020
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income $ 38,849 $ 29,382
Adjustments to reconcile net income to net cash provided by operating activities, net of effects from acquisitions:    
Depreciation and amortization 19,190 21,162
Stock-based compensation expense 14,088 11,821
Provision for (recovery of) losses on accounts receivable (3,934) 5,240
Deferred income taxes (9) 44
Amortization of debt discount and issuance costs 697 4,830
Impairment charges   552
Other 111 55
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable 5,547 3,189
Inventories (42,247) (25,151)
Prepaid expenses and other assets (8,264) (9,622)
Accounts payable (12,775) 4,408
Accrued payroll and related expenses (12,899) (4,328)
Advances from customers 1,155 45,250
Deferred revenue 5,003 394
Other (1,066) 2,253
Net cash provided by operating activities 3,446 89,479
CASH FLOWS FROM INVESTING ACTIVITIES    
Acquisition of property and equipment (7,401) (8,508)
Proceeds from sale of property and equipment 258  
Purchases of certificates of deposit (126) (2,628)
Proceeds from maturities of certificates of deposit   700
Acquisition of business, net of cash acquired   (3,000)
Payments for intangible and other assets (8,122) (7,047)
Net cash used in investing activities (15,391) (20,483)
CASH FLOWS FROM FINANCING ACTIVITIES    
Net borrowings (repayments) on bank lines of credit 81,622 (41,000)
Proceeds from long-term debt 143 315
Payments on long-term debt (491) (539)
Proceeds from exercise of stock options and employee stock purchase plan 2,301 2,585
Payments of contingent consideration (1,500) (628)
Repurchases of common stock (45,280) (24,816)
Taxes paid related to net share settlement of equity awards (19,161) (11,327)
Net cash provided by (used in) financing activities 17,634 (75,410)
Effect of exchange rate changes on cash 30 2,887
Net change in cash and cash equivalents 5,719 (3,527)
Cash and cash equivalents-beginning of period 80,613 76,102
Cash and cash equivalents-end of period 86,332 72,575
Cash paid, net during the period for:    
Interest 3,501 3,012
Income taxes $ 7,787 $ 5,125