v3.24.1.1.u2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Cash flows from operating activities:    
Net loss $ (12,697) $ (37,142)
Adjustments to reconcile net loss to net cash used in operating activities:    
Change in fair value of convertible debentures 1,095
Depreciation and amortization of property, plant and equipment 874 2,076
Share-based compensation charges 1,543 1,508
Share-based 401(k) employer match expense 494 772
Unrealized foreign exchange loss (gain) 764 (1,081)
Gain on operating lease terminations (554)
Changes in operating assets and liabilities:    
Accounts receivable 2,475 1,861
Inventories 636 91
Prepaid expenses and other assets (88) 1,350
Accounts payable – trade (7,654) 5,128
Accrued liabilities, other current liabilities and other liabilities (12,062) 5,492
Total adjustments (12,477) 17,197
Net cash used in operating activities (25,174) (19,945)
Cash flows from investing activities:    
Capital expenditures (422) (2,187)
Net cash used in investing activities (422) (2,187)
Cash flows from financing activities:    
Proceeds from exercise of stock options 14
Proceeds from borrowings under Revolving Credit Agreement 7,565
Repayments under Revolving Credit Agreement (4,211)
Repayments under mortgage agreement and capital leases (110) (253)
Cash payments for taxes related to net share settlements of equity compensation and awards (474)
Net cash (used in) provided by financing activities (584) 3,115
Effect of exchange rate changes on cash and cash equivalents (37) 46
Decrease in cash and cash equivalents and restricted cash (26,217) (18,971)
Cash and cash equivalents and restricted cash - beginning of period 83,373 22,603
Cash and cash equivalents and restricted cash - end of period 57,156 3,632
Cash and cash equivalents 57,156 2,632
Restricted cash 1,000
Total cash and cash equivalents and restricted cash $ 57,156 $ 3,632

Source