XML 15 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2019
Dec. 31, 2018
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income $ 41,729 $ 28,509
Adjustments to reconcile net income to net cash provided by operating activities, net of effects from acquisitions:    
Depreciation and amortization 26,961 28,283
Stock-based compensation expense 12,260 13,626
Deferred income taxes (53) (3,308)
Amortization of debt discount and issuance costs 4,646 4,469
Other 877 1,015
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable (19,455) (13,986)
Inventories 19,930 (2,265)
Prepaid expenses and other assets (17,646) (5,863)
Accounts payable 12,739 (9,166)
Accrued payroll and related expenses (5,381) (3,760)
Advances from customers (10,580) 13,676
Other (6,400) (10,386)
Net cash provided by operating activities 59,627 40,844
CASH FLOWS FROM INVESTING ACTIVITIES    
Acquisition of property and equipment (11,593) (12,640)
Acquisition of businesses, net of cash acquired (171) (18,259)
Acquisition of intangible and other assets (3,853) (611)
Net cash used in investing activities (15,617) (31,510)
CASH FLOWS FROM FINANCING ACTIVITIES    
Net borrowings on bank lines of credit 3,000 36,000
Proceeds from long-term debt 441 817
Payments on long-term debt (480) (1,233)
Proceeds from exercise of stock options and employee stock purchase plan 6,097 2,809
Payments of contingent consideration (1,220) (1,328)
Repurchases of common stock (26,994) (21,029)
Taxes paid related to net share settlement of equity awards (26,710) (12,955)
Net cash provided by (used in) financing activities (45,866) 3,081
Effect of exchange rate changes on cash 596 (1,262)
Net change in cash and cash equivalents (1,260) 11,153
Cash and cash equivalents-beginning of period 96,316 84,814
Cash and cash equivalents-end of period 95,056 95,967
Cash paid, net during the period for:    
Interest 4,242 6,318
Income taxes $ 9,668 $ 20,711