Quarterly report pursuant to Section 13 or 15(d)

CONSOLIDATED STATEMENTS OF CASH FLOWS

v3.19.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Cash flows from operating activities:    
Net income (loss) $ 7,876 $ (4,557)
Adjustments to reconcile net income (loss) to net cash provided by(used in) operating activities:    
Depreciation and amortization of property, plant and equipment 1,631 1,608
Amortization of intangible assets 741 742
Share-based compensation charges 725 617
Accrual for share-based 401(k) employer match expense 650 630
Foreign exchange loss (gain) 461 (149)
Changes in operating assets and liabilities:    
Accounts receivable 1,605 756
Inventories (456) (257)
Prepaid expenses and other assets (36) (585)
Accounts payable – trade (3,363) (2,126)
Accrued liabilities, other current liabilities and other liabilities (1,853) 2,846
Total adjustments 105 4,082
Net cash provided by (used in) operating activities 7,981 (475)
Cash flows from investing activities:    
Capital expenditures (7,554) (1,626)
Security deposits and other   (51)
Net cash used in investing activities (7,554) (1,677)
Cash flows from financing activities:    
Proceeds from borrowing under mortgage loan 4,500  
Repayments under loans and capital lease obligations (244) (299)
Costs to obtain mortgage loan (72)  
Proceeds from exercise of stock options 166 831
Net cash provided by financing activities 4,350 532
Effect of exchange rate changes on cash and cash equivalents (16) 9
Increase (decrease) in cash and cash equivalents 4,761 (1,611)
Cash and cash equivalents - beginning of period 60,041 64,167
Cash and cash equivalents - end of period 64,802 62,556
The composition of cash and cash equivalents and restricted cash is as follows:    
Cash and cash equivalents 64,052 62,556
Restricted cash included in other assets 750  
Total cash and cash equivalents (including restricted cash) $ 64,802 $ 62,556