CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($) $ in Thousands |
3 Months Ended |
Oct. 31, 2018 |
Oct. 31, 2017 |
| Cash flows from operating activities: |
|
|
| Net loss |
$ (7,365)
|
$ (5,237)
|
| Adjustments to reconcile net loss to net cash provided by (used in) operating activities: |
|
|
| Depreciation |
5,533
|
1,892
|
| Amortization of intangible assets |
8,099
|
|
| Amortization of deferred financing costs |
247
|
177
|
| Accretion of debt discount |
1,051
|
1,041
|
| Share-based compensation |
792
|
292
|
| Other (gains) losses, net |
(944)
|
(1,422)
|
| Gains on investments in affiliates and impairments |
(20)
|
(201)
|
| Changes in operating assets and liabilities, net of business acquired: |
|
|
| Accounts receivable, net |
(17,558)
|
(3,808)
|
| Inventories, net |
(3,815)
|
2,926
|
| Prepaid expenses and other current assets |
2,781
|
(1,511)
|
| Accounts payable, accrued restructuring and accrued expenses |
11,301
|
(1,879)
|
| Refundable and accrued income taxes, net |
(442)
|
1,409
|
| Other assets and liabilities |
2,873
|
(1,353)
|
| Net cash provided by (used in) operating activities |
2,533
|
(7,674)
|
| Cash flows from investing activities: |
|
|
| Additions to property and equipment |
(4,006)
|
(2,464)
|
| Proceeds from the disposition of property and equipment |
14
|
4,247
|
| Proceeds from the sale of Trading Securities |
|
13,775
|
| Proceeds from investments in affiliates |
20
|
201
|
| Net cash (used in) provided by investing activities |
(3,972)
|
15,759
|
| Cash flows from financing activities: |
|
|
| Payment of long-term debt |
(1,500)
|
|
| Payment of preferred dividends |
(536)
|
|
| Purchase of the Company's Convertible Notes |
(3,700)
|
|
| Repayments on capital lease obligations |
(148)
|
(79)
|
| Proceeds from issuance of common stock |
6
|
3
|
| Net cash used in financing activities |
(5,878)
|
(76)
|
| Net effect of exchange rate changes on cash, cash equivalents, and restricted cash |
(358)
|
(32)
|
| Net (decrease) increase in cash, cash equivalents, and restricted cash |
(7,675)
|
7,977
|
| Cash, cash equivalents, and restricted cash, beginning of period |
103,826
|
124,124
|
| Cash, cash equivalents, and restricted cash, end of period |
$ 96,151
|
$ 132,101
|