Quarterly report pursuant to Section 13 or 15(d)

CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)

v3.20.1
CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2020
Apr. 30, 2019
Cash flows from operating activities:    
Net (loss) income $ (25,195) $ 7,876
Adjustments to reconcile net (loss) income to net cash provided by (used in) operating activities:    
Depreciation and amortization of property, plant and equipment 1,700 1,631
Amortization of intangible assets 451 741
Share-based compensation charges 728 725
Accrual for share-based 401(k) employer match expense 631 461
Foreign exchange loss 8 650
Changes in operating assets and liabilities:    
Accounts receivable 3,942 1,605
Inventories (147) (456)
Prepaid expenses and other assets 223 (36)
Accounts payable – trade 1,211 (3,363)
Accrued liabilities, other current liabilities and other liabilities 4,330 (1,853)
Total adjustments 13,077 105
Net cash (used in) provided by operating activities (12,118) 7,981
Cash flows from investing activities:    
Capital expenditures (719) (7,554)
Net cash used in investing activities (719) (7,554)
Cash flows from financing activities:    
Proceeds from borrowing under government programs and mortgage agreement 7,412 4,500
Repayments under mortgage agreement and finance leases (321) (244)
Cost to obtain loan   (72)
Proceeds from exercise of stock options   166
Net cash provided by financing activities 7,091 4,350
Effect of exchange rate changes on cash and cash equivalents 7 (16)
(Decrease) increase in cash and cash equivalents and restricted cash (5,739) 4,761
Cash and cash equivalents and restricted cash - beginning of period 60,896 60,041
Total cash and cash equivalents and restricted cash - end of period 55,157 64,802
The composition of total cash and cash equivalents and restricted cash is as follows:    
Cash and cash equivalents 54,407 64,052
Restricted cash included in other assets 750 750
Total cash and cash equivalents and restricted cash $ 55,157 $ 64,802