Quarterly report pursuant to Section 13 or 15(d)

Note 9 - Long Term Debt and Revolving Lines of Credit (Details Textual)

v3.19.2
Note 9 - Long Term Debt and Revolving Lines of Credit (Details Textual) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended 21 Months Ended
May 15, 2019
Dec. 06, 2018
Dec. 05, 2018
Apr. 30, 2018
Nov. 30, 2016
Aug. 31, 2014
Oct. 31, 2018
Sep. 30, 2017
Jul. 31, 2019
Oct. 02, 2017
Jul. 31, 2017
Long-term Debt, Total             $ 173,470   $ 386,052    
Long-term Debt, Gross             175,845   407,316    
Debt Instrument, Unamortized Premium, Total             $ 540      
Gain (Loss) on Extinguishment of Debt, before Write off of Debt Issuance Cost     $ 16,400                
Senior Secured Notes [Member]                      
Debt Instrument, Interest Rate, Stated Percentage             10.375%        
Proceeds from Issuance of Debt       $ 15,000 $ 40,000 $ 140,000          
Repayments of Debt               $ 26,000      
Debt Instrument, Premium Percent       104.00%              
Long-term Debt, Gross       $ 15,600              
Debt Instrument, Unamortized Premium, Total       $ 600              
Original Senior Secured Notes [Member]                      
Long-term Debt, Total             $ 0        
New Senior Secured Notes [Member]                      
Long-term Debt, Total             167,600        
Long-term Debt, Gross             167,553      
Seller Notes [Member]                      
Long-term Debt, Gross             8,292      
Seller Notes [Member] | Former Owners of Camfaud [Member]                      
Debt Instrument, Face Amount         $ 6,200            
Debt Instrument, Interest Rate, Stated Percentage         5.00%            
Seller Notes [Member] | Former Owners of Reilly [Member]                      
Debt Instrument, Face Amount                     $ 1,900
Debt Instrument, Interest Rate, Stated Percentage                     5.00%
Asset Backed Revolving Credit Facility [Member]                      
Line of Credit Facility, Maximum Borrowing Capacity   $ 60,000                  
Long-term Line of Credit, Total                 31,300    
Asset Backed Revolving Credit Facility [Member] | Minimum [Member]                      
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage   0.25%                  
Asset Backed Revolving Credit Facility [Member] | Maximum [Member]                      
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage   0.50%                  
Asset Backed Revolving Credit Facility [Member] | Standby Letters of Credit [Member]                      
Line of Credit Facility, Maximum Borrowing Capacity   $ 7,500                  
Asset Backed Revolving Credit Facility [Member] | Other Loan Borrowings [Member]                      
Line of Credit Facility, Maximum Borrowing Capacity   $ 7,500                  
Revolving Credit Facility [Member]                      
Line of Credit Facility, Maximum Borrowing Capacity             65,000        
Long-term Line of Credit, Total             48,700        
The UK Revolver [Member]                      
Debt Instrument, Basis Spread on Variable Rate         2.00%            
Line of Credit Facility, Maximum Borrowing Capacity         $ 28,000            
Long-term Line of Credit, Total             $ 14,300        
Base Rate [Member] | Asset Backed Revolving Credit Facility [Member] | Other Loan Borrowings [Member]                      
Debt Instrument, Basis Spread on Variable Rate   1.25%                  
London Interbank Offered Rate (LIBOR) [Member] | Asset Backed Revolving Credit Facility [Member] | Other Loan Borrowings [Member]                      
Debt Instrument, Basis Spread on Variable Rate   2.25%                  
Term Loan Agreement [Member]                      
Debt Instrument, Face Amount   $ 357,000                  
Proceeds from Issuance of Long-term Debt, Total $ 60,000                    
Debt Instrument, Interest Rate, Stated Percentage   5.00%                  
Long-term Debt, Total                 $ 407,300    
Term Loan Agreement [Member] | Eurodollar [Member]                      
Debt Instrument, Basis Spread on Variable Rate   6.00%                  
Term Loan Agreement [Member] | Base Rate [Member]                      
Debt Instrument, Basis Spread on Variable Rate   5.00%                  
Average Excess Availability, Tranche One [Member] | Revolving Credit Facility [Member]                      
Line of Credit Facility, Quarterly Average Excess Availability, Percent             66.67%        
Average Excess Availability, Tranche One [Member] | London Interbank Offered Rate (LIBOR) [Member] | Revolving Credit Facility [Member]                      
Debt Instrument, Basis Spread on Variable Rate             2.00%        
Average Excess Availability, Tranche Two [Member] | Revolving Credit Facility [Member] | Minimum [Member]                      
Line of Credit Facility, Quarterly Average Excess Availability, Percent             33.33%        
Average Excess Availability, Tranche Two [Member] | Revolving Credit Facility [Member] | Maximum [Member]                      
Line of Credit Facility, Quarterly Average Excess Availability, Percent             66.67%        
Average Excess Availability, Tranche Two [Member] | London Interbank Offered Rate (LIBOR) [Member] | Revolving Credit Facility [Member]                      
Debt Instrument, Basis Spread on Variable Rate             2.25%        
Average Excess Availability, Tranche Three [Member] | Revolving Credit Facility [Member]                      
Line of Credit Facility, Quarterly Average Excess Availability, Percent             33.33%        
Average Excess Availability, Tranche Three [Member] | London Interbank Offered Rate (LIBOR) [Member] | Revolving Credit Facility [Member]                      
Debt Instrument, Basis Spread on Variable Rate             2.50%        
Transferred From the Revolver Balance to a 3-month Line of Credit [Member] | Revolving Credit Facility [Member]                      
Long-term Line of Credit, Total                   $ 35,000