XML 19 R7.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Cash flows from operating activities:    
Net loss $ (42,471) $ (5,747)
Adjustments to reconcile net loss to cash flows from operating activities:    
Depreciation 16,340 11,117
Amortization of intangible assets 8,085 11,894
Amortization of deferred financing costs 273 260
Accretion of debt discount 800 605
Impairment of long-lived assets 70 0
Share-based compensation 408 346
Non-cash lease expense 7,015 7,158
Other losses, net 186 5,795
Changes in operating assets and liabilities:    
Accounts receivable, net 1,268 7,143
Inventories, net (3,380) 1,658
Prepaid expenses and other current assets 2,319 (4,195)
Accounts payable and accrued expenses 1,240 (15,756)
Refundable and accrued income taxes, net (519) 225
Other assets and liabilities (14,803) (15,317)
Net cash (used in) provided by operating activities (23,169) 5,186
Cash flows from investing activities:    
Additions of property and equipment (8,152) (2,160)
Proceeds from the disposition of property and equipment 963 0
Net cash used in investing activities (7,189) (2,160)
Cash flows from financing activities:    
Long-term debt repayments (3,000) (3,000)
Preferred dividend payments (1,073) (1,067)
Repayments on capital lease obligations (36) (35)
Proceeds from issuance of common stock 0 4
Net cash used in financing activities (4,109) (4,098)
Net effect of exchange rate changes on cash, cash equivalents and restricted cash (395) 683
Net decrease in cash, cash equivalents and restricted cash (34,862) (389)
Cash, cash equivalents and restricted cash, beginning of period 105,143 94,642
Cash, cash equivalents and restricted cash, end of period 70,281 94,253
Cash and cash equivalents, end of period 64,646 87,649
Funds held for clients, end of period $ 5,635 $ 6,604