DEBT |
6 Months Ended |
|---|---|
Jan. 31, 2017 | |
| Debt Disclosure [Abstract] | |
| DEBT | DEBT Senior Notes—In April 2016, the Company issued an aggregate principal amount of $75.0 million of senior notes due on April 15, 2019 (the “Senior Notes”) to a lender. The Senior Notes contained a guaranteed minimum return to the holder of the Senior Notes (the “Guaranteed Minimum Return”). In September 2016, the Company fully repaid all outstanding principal balance of the Senior Notes and incurred approximately $3.3 million of loss on debt extinguishment, which consisted of $1.7 million of unamortized debt issuance costs and $1.6 million of debt extinguishment costs primarily related to the Guaranteed Minimum Return. |