XML 57 R45.htm IDEA: XBRL DOCUMENT v3.20.4
DEBT - Component of Debt and Reconciliation (Details) - USD ($)
$ in Thousands
Jan. 31, 2021
Jul. 31, 2020
Line of Credit Facility [Line Items]    
Less: unamortized discounts and issuance costs $ (7,033) $ (7,863)
Total debt, net 376,879 379,049
Less: current portion of debt, net (5,582) (5,527)
Total long-term debt, net 371,297 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 Credit Facility    
Line of Credit Facility [Line Items]    
Principal amount of long term debt 368,972 371,972
Revolving Credit 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