v3.22.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2022
Dec. 31, 2021
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income $ 27,589 $ 38,849
Adjustments to reconcile net income to net cash provided by operating activities, net of effects from acquisitions:    
Depreciation and amortization 19,143 19,190
Stock-based compensation expense 14,416 14,088
Recovery of losses on accounts receivable (1,353) (3,934)
Deferred income taxes 1,205 (9)
Amortization of debt discount and issuance costs 196 697
Other (64) 111
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable (13,348) 5,547
Inventories (27,317) (42,247)
Prepaid expenses and other assets (10,076) (8,264)
Accounts payable 4,429 (12,775)
Accrued payroll and related expenses (16,526) (12,899)
Advances from customers 2,828 1,155
Deferred revenue 12,714 5,003
Other (5,672) (1,066)
Net cash provided by operating activities 8,164 3,446
CASH FLOWS FROM INVESTING ACTIVITIES    
Acquisition of property and equipment (6,982) (7,401)
Proceeds from sale of property and equipment 235 258
Purchases of certificates of deposit (674) (126)
Acquisition of businesses, net of cash acquired (3,477)  
Payments for intangible and other assets (8,002) (8,122)
Net cash used in investing activities (18,900) (15,391)
CASH FLOWS FROM FINANCING ACTIVITIES    
Net borrowings on bank lines of credit 175,000 81,622
Proceeds from long-term debt 100,502 143
Payments on long-term debt (245,777) (491)
Proceeds from exercise of stock options and employee stock purchase plan 2,408 2,301
Payments of contingent consideration (2,466) (1,500)
Repurchases of common stock (21,784) (45,280)
Taxes paid related to net share settlement of equity awards (11,614) (19,161)
Net cash provided by (used in) financing activities (3,731) 17,634
Effect of exchange rate changes on cash (4,135) 30
Net change in cash and cash equivalents (18,602) 5,719
Cash and cash equivalents-beginning of period 64,202 80,613
Cash and cash equivalents-end of period 45,600 86,332
Supplemental disclosure of cash flow information:    
Interest 8,978 3,501
Income taxes $ 11,935 $ 7,787