XML 42 R6.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2024
Jul. 02, 2023
Jul. 03, 2022
Operating activities:      
Net income (loss) $ (6,105) $ (44,702) $ 29,610
Reconciliation of net income (loss) to net cash provided by operating activities net of acquisitions:      
Goodwill and Intangible Asset Impairment 19,762 64,586 0
Depreciation and amortization 53,752 53,673 49,078
Amortization of deferred financing costs 724 1,834 1,269
Deferred income taxes (11,732) (4,608) 1,579
Bad debt expense (recoveries) 251 3,991 (411)
Stock-based compensation 10,688 8,334 7,947
Other non-cash items 310 95 3,194
Changes in operating items:      
Trade receivables 2,143 (597) (2,452)
Inventories 14,572 57,591 (85,047)
Prepaid and other 2,913 12,554 6,731
Accounts payable and accrued expenses 6,404 (38,623) (6,595)
Other assets and other liabilities 1,317 1,223 286
Net cash provided by operating activities 94,999 115,351 5,189
Investing activities:      
Acquisitions, net of cash acquired (3,672) (6,151) (21,280)
Capital expenditures (38,632) (44,646) (66,408)
Purchase of equity investments 0 (32) (2,000)
Net cash used in investing activities (42,304) (50,829) (89,688)
Financing activities:      
Acquisition of treasury stock (10,394) (1,239) (38,171)
Proceeds from exercise of employee stock options 329 0 846
Proceeds from bank borrowings 82,000 395,900 125,000
Repayment of bank borrowings (92,000) (360,900) (145,000)
Debt issuance costs 0 (2,941) (284)
Net cash (used in) provided by financing activities (20,065) 30,820 (57,609)
Net change in cash and cash equivalents 32,630 95,342 (142,108)
Cash and cash equivalents:      
Beginning of year 126,807 31,465 173,573
End of year $ 159,437 $ 126,807 $ 31,465