XML 21 R7.htm IDEA: XBRL DOCUMENT v3.23.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Operating activities:      
Net income (loss) $ (52,361) $ (63,900) $ (31,224)
Adjustments to reconcile net income (loss) to net cash provided (used) by operating activities:      
Depreciation and amortization 13,694 15,254 17,858
Goodwill and other intangible asset impairment (Note 4) 12,316 18,312 0
Stock-based compensation expense 6,791 7,877 8,156
Operating lease, fixed asset, and other intangible asset impairments due to restructuring (Note 14) 0 0 454
Deferred income tax 0 5,358 889
Gain on sale of property, plant and equipment (2,841) (33,114) (1,201)
Provision for uncollectible accounts (101) 738 85
Accelerated amortization of deferred debt amendment fees (Note 5) 0 1,518 0
Other 248 169 460
Changes in operating assets and liabilities increasing (decreasing) cash:      
Accounts receivable 8,663 (6,587) 11,109
Costs and estimated earnings in excess of billings on uncompleted contracts (136) (13,978) 28,774
Inventories 2,506 (2,632) (882)
Other assets and liabilities 10,538 (530) (21,916)
Accounts payable 1,210 13,654 (12,387)
Billings on uncompleted contracts in excess of costs and estimated earnings 20,330 11,274 (8,610)
Accrued expenses (10,610) (7,609) 5,464
Net cash provided (used) by operating activities 10,247 (54,196) (2,971)
Investing activities:      
Capital expenditures (9,009) (3,345) (4,354)
Proceeds from asset sales (Note 3) 6,466 39,018 2,090
Net cash provided (used) by investing activities (2,543) 35,673 (2,264)
Financing activities:      
Advances under senior secured revolving credit facility 0 0 1,125
Repayments of advances under senior secured revolving credit facility 0 0 (10,913)
Advances under asset-backed credit facility 10,000 20,000 0
Repayments of advances under asset-backed credit facility (15,000) (5,000) 0
Payment of debt amendment fees 0 (1,263) (1,275)
Issuances of common stock 0 199 349
Proceeds from issuance of common stock under employee stock purchase plan 252 270 299
Repurchase of common stock for payment of statutory taxes due on equity-based compensation (310) (853) (1,554)
Repayment of principal portion of long-term liability 0 (654) (355)
Net cash used by financing activities (5,058) 12,699 (12,324)
Effect of exchange rate changes on cash (205) (683) 1,401
Net increase (decrease) in cash and cash equivalents 2,441 (6,507) (16,158)
Cash, cash equivalents, and restricted cash, beginning of period (Note1) 77,371 83,878 100,036
Cash, cash equivalents, and restricted cash, end of period (Note1) 79,812 77,371 83,878
Other cash flow information:      
Cash paid during the period for income taxes (13,337) (2,864) 451
Cash paid during the period for interest 2,093 2,773 1,834
Non-cash investing and financing activities:      
Purchases of property, plant and equipment on account $ 104 $ 54 $ 106