XML 20 R7.htm IDEA: XBRL DOCUMENT v3.21.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2021
Apr. 30, 2020
Cash flows from operating activities:    
Net loss $ (33,376) $ (4,924)
Adjustments to reconcile net loss to cash flows from operating activities:    
Depreciation 15,622 17,240
Amortization of intangible assets 16,076 20,719
Amortization of deferred financing costs 467 285
Accretion of debt discount 930 1,240
Impairment of goodwill 25,658 0
Share-based compensation 443 581
Other losses (gains), net 5,686 (2,509)
Changes in operating assets and liabilities:    
Accounts receivable, net 21,243 28,492
Inventories, net (80) 3,847
Prepaid expenses and other current assets (4,179) 7,538
Accounts payable and accrued expenses (18,592) (14,547)
Refundable and accrued income taxes, net (378) (793)
Other assets and liabilities (8,508) 2,882
Net cash provided by operating activities 21,012 60,051
Cash flows from investing activities:    
Additions of property and equipment (2,819) (11,477)
Proceeds from the disposition of property and equipment 174 12
Proceeds from the sale of available-for-sale securities 0 163
Net cash used in investing activities (2,645) (11,302)
Cash flows from financing activities:    
Proceeds from revolving lines of credit, net 0 19,000
Long-term debt repayments (6,142) (3,076)
Preferred dividend payments (1,586) (1,563)
Payment of debt financing costs 0 (914)
Repayments on capital lease obligations (52) (83)
Proceeds from issuance of common stock 4 8
Net cash (used in) provided by financing activities (7,776) 13,372
Net effect of exchange rate changes on cash, cash equivalents and restricted cash 746 (798)
Net increase in cash, cash equivalents and restricted cash 11,337 61,323
Cash, cash equivalents and restricted cash, beginning of period 94,642 46,064
Cash, cash equivalents and restricted cash, end of period 105,979 107,387
Cash and cash equivalents, end of period 97,582 90,189
Funds held for clients, end of period $ 8,397 $ 17,198