XML 59 R46.htm IDEA: XBRL DOCUMENT v3.21.1
DEBT - Component of Debt and Reconciliation (Details) - USD ($)
$ in Thousands
Apr. 30, 2021
Jul. 31, 2020
Line of Credit Facility [Line Items]    
Less: unamortized discounts and issuance costs $ (6,569) $ (7,863)
Total debt, net 374,200 379,049
Less: current portion of debt, net (5,612) (5,527)
Total long-term debt, net 368,588 373,522
7.50% Convertible Senior Note due March 1, 2024    
Line of Credit Facility [Line Items]    
Principal amount of long term debt 14,940 14,940
Cerberus Term Loan due December 15, 2022    
Line of Credit Facility [Line Items]    
Principal amount of long term debt 365,829 371,972
Cerberus Revolving Facility    
Line of Credit Facility [Line Items]    
Revolving credit facility 0 0
MidCap Credit Facility    
Line of Credit Facility [Line Items]    
Revolving credit facility $ 0 $ 0