XML 20 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Cash flows from operating activities:    
Net loss $ (19,494) $ (3,551)
Adjustments to reconcile net loss to cash flows from operating activities:    
Depreciation 8,607 5,780
Amortization of intangible assets 4,182 6,535
Amortization of deferred financing costs 137 148
Accretion of debt discount 386 292
Share-based compensation 190 188
Non-cash lease expense 3,439 3,613
Other losses, net 392 3,622
Changes in operating assets and liabilities:    
Accounts receivable, net (5,059) 12,839
Inventories, net (1,978) 514
Prepaid expenses and other current assets 3,660 (4,473)
Accounts payable and accrued expenses (482) 6,416
Refundable and accrued income taxes, net (268) 503
Other assets and liabilities (4,137) (6,699)
Net cash (used in) provided by operating activities (10,425) 25,727
Cash flows from investing activities:    
Additions of property and equipment (4,742) (1,059)
Proceeds from the disposition of property and equipment 61 0
Net cash used in investing activities (4,681) (1,059)
Cash flows from financing activities:    
Long-term debt repayments (1,500) (1,500)
Preferred dividend payments (537) (537)
Repayments on capital lease obligations (18) (17)
Proceeds from issuance of common stock 0 3
Net cash used in financing activities (2,055) (2,051)
Net effect of exchange rate changes on cash, cash equivalents and restricted cash (121) (269)
Net (decrease) increase in cash, cash equivalents and restricted cash (17,282) 22,348
Cash, cash equivalents and restricted cash, beginning of period 105,143 94,642
Cash, cash equivalents and restricted cash, end of period 87,861 116,990
Cash and cash equivalents, end of period 81,330 104,522
Funds held for clients, end of period $ 6,531 $ 12,468