XML 41 R7.htm IDEA: XBRL DOCUMENT v3.20.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2020
Jan. 31, 2019
Cash flows from operating activities:    
Net income (loss) $ 1,235 $ (19,118)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation 11,374 10,451
Amortization of intangible assets 14,188 15,890
Amortization of deferred financing costs 146 511
Accretion of debt discount 830 2,311
Impairment of long-lived assets 0 432
Share-based compensation 372 770
Other losses, net 265 718
Gains on investments in affiliates 0 (20)
Changes in operating assets and liabilities    
Accounts receivable, net (6,157) (4,618)
Inventories, net (606) (2,961)
Prepaid expenses and other current assets (3,258) 3,593
Accounts payable and accrued expenses (2,712) 8,129
Refundable and accrued income taxes, net 55 (1,833)
Other assets and liabilities (859) 1,209
Net cash provided by operating activities 14,873 15,464
Cash flows from investing activities:    
Additions to property and equipment (10,370) (8,953)
Proceeds from the disposition of property and equipment 23 14
Proceeds from the sale of available-for-sale securities 163 0
Proceeds from investments in affiliates 0 20
Net cash used in investing activities (10,184) (8,919)
Cash flows from financing activities:    
Payment of long-term debt (3,000) (3,000)
Payment of preferred dividends (1,077) (1,072)
Payment of financing costs (414) 0
Purchase of the Company's Convertible Notes 0 (3,700)
Repayments on capital lease obligations (79) (76)
Proceeds from issuance of common stock 12 13
Net cash used in financing activities (4,558) (7,835)
Net effect of exchange rate changes on cash, cash equivalents and restricted cash (21) (329)
Net increase (decrease) in cash, cash equivalents and restricted cash 110 (1,619)
Cash, cash equivalents and restricted cash, beginning of period 46,064 103,826
Cash, cash equivalents and restricted cash, end of period 46,174 102,207
Cash and cash equivalents, end of period 30,197 92,899
Funds held for clients, end of period $ 15,977 $ 9,308