Annual report pursuant to Section 13 and 15(d)

Consolidated Statements of Cash Flows

v3.21.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2019
Statement of Cash Flows [Abstract]      
Net income (loss) $ 7,875 $ (28,520) $ 2,489
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization of property, plant and equipment 2,332 2,256 2,194
Amortization of intangible assets 321 524 842
Share-based compensation charges 907 933 939
Share-based 401(k) employer match expense 731 836 855
Foreign exchange (gain) loss (88) (1,165) 493
Unrealized loss on marketable securities 83    
Paycheck Protection Program (PPP) loan forgiveness (7,000)    
Changes in operating assets and liabilities:      
Accounts receivable (1,110) 1,617 2,404
Inventories (4,937) 85 (572)
Prepaid expenses and other assets (707) (216) (182)
Accounts payable - trade (395) 1,214 (2,508)
Accrued liabilities, other current liabilities and other liabilities 2,375 5,257 (2,148)
Total adjustments (7,488) 11,341 2,317
Net cash provided by (used in) operating activities 387 (17,179) 4,806
Cash flows from investing activities:      
Capital expenditures (4,436) (2,170) (8,126)
Purchases of marketable securities (30,061)    
Net cash used in investing activities (34,497) (2,170) (8,126)
Cash flows from financing activities:      
Proceeds from borrowings under government programs and mortgage agreement   7,412 4,500
Repayments under mortgage agreement and capital leases (339) (411) (404)
Cost to obtain loan     (70)
Proceeds from exercise of stock options 97   167
Net cash (used in) provided by financing activities (242) 7,001 4,193
Effect of exchange rate changes on cash and cash equivalents 11 67 (18)
(Decrease) increase in cash and cash equivalents and restricted cash (34,341) (12,281) 855
Cash and cash equivalents and restricted cash - beginning of year 48,615 60,896 60,041
Cash and cash equivalents and restricted cash - end of year 14,274 48,615 60,896
Composition of cash and cash equivalents and restricted cash is as follows:      
Cash and cash equivalents 13,524 47,865 60,146
Restricted cash 750 750 750
Total cash and cash equivalents and restricted cash $ 14,274 $ 48,615 $ 60,896