XML 19 R7.htm IDEA: XBRL DOCUMENT v3.20.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Cash flows from operating activities:    
Net (loss) income $ (5,747) $ 1,235
Adjustments to reconcile net (loss) income to cash flows from operating activities:    
Depreciation 11,117 11,374
Amortization of intangible assets 11,894 14,188
Amortization of deferred financing costs 260 146
Accretion of debt discount 605 830
Share-based compensation 346 372
Other losses, net 5,795 265
Changes in operating assets and liabilities:    
Accounts receivable, net 7,143 (6,157)
Inventories, net 1,658 (606)
Prepaid expenses and other current assets (4,195) (3,258)
Accounts payable and accrued expenses (15,756) (2,712)
Refundable and accrued income taxes, net 225 55
Other assets and liabilities (8,159) (859)
Net cash provided by operating activities 5,186 14,873
Cash flows from investing activities:    
Additions of property and equipment (2,160) (10,370)
Proceeds from the disposition of property and equipment 0 23
Proceeds from the sale of available-for-sale securities 0 163
Net cash used in investing activities (2,160) (10,184)
Cash flows from financing activities:    
Long-term debt repayments (3,000) (3,000)
Preferred dividend payments (1,067) (1,077)
Payment of debt financing costs 0 (414)
Repayments on capital lease obligations (35) (79)
Proceeds from issuance of common stock 4 12
Net cash used in financing activities (4,098) (4,558)
Net effect of exchange rate changes on cash, cash equivalents and restricted cash 683 (21)
Net (decrease) increase in cash, cash equivalents and restricted cash (389) 110
Cash, cash equivalents and restricted cash, beginning of period 94,642 46,064
Cash, cash equivalents and restricted cash, end of period 94,253 46,174
Cash and cash equivalents, end of period 87,649 30,197
Funds held for clients, end of period $ 6,604 $ 15,977