XML 57 R44.htm IDEA: XBRL DOCUMENT v3.7.0.1
NOTES PAYABLE AND LONG-TERM DEBT (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Dec. 31, 2016
Jun. 30, 2016
Long-term debt [Abstract]      
Total long-term debt $ 2,603    
Less: current portion 601   $ 0
Long-term debt, net of current portion 2,002   $ 0
Unsecured Note Payable [Member]      
Long-term debt [Abstract]      
Monthly payments $ 7    
Maturity date Sep. 30, 2018    
Total long-term debt $ 104    
Term Loan [Member]      
Line of Credit Facility [Line Items]      
Maturity period 5 years    
Interest rate 3.63%    
Long-term debt [Abstract]      
Monthly payments $ 43    
Maturity date Mar. 31, 2022    
Total long-term debt $ 2,499    
Credit Agreement [Member]      
Line of Credit Facility [Line Items]      
Maximum borrowing capacity $ 14,000    
Percentage of eligible accounts receivable considered for borrowing base 80.00%    
Percentage of eligible inventory considered for borrowing base 50.00%    
Amount of convenant for borrowing base $ 3,000    
Unused capacity, commitment fee percentage 0.25%    
Remaining borrowing capacity $ 11,500    
Basis spread of variable rate 0.00%    
Credit Agreement [Member] | Minimum [Member]      
Line of Credit Facility [Line Items]      
Debt service coverage ratio 1.15    
Credit Agreement [Member] | Maximum [Member]      
Line of Credit Facility [Line Items]      
Debt cash flow leverage ratio 3.5    
Debt cash flow of leverage ratio as on December 31, 2017 3.25    
Decrease in cash flow of leverage ratio as on March 31, 2018 3.0    
Credit Agreement [Member] | LIBOR [Member]      
Line of Credit Facility [Line Items]      
Debt instrument, term of variable rate 1 month    
Basis spread of variable rate 2.50%    
Credit Agreement [Member] | LIBOR [Member] | Maximum [Member]      
Line of Credit Facility [Line Items]      
Basis spread of variable rate 3.00%    
Credit Agreement [Member] | Working Capital [Member]      
Line of Credit Facility [Line Items]      
Maximum borrowing capacity $ 6,000    
Remaining borrowing capacity 6,000    
Credit Agreement [Member] | Letters of Credit [Member]      
Line of Credit Facility [Line Items]      
Maximum borrowing capacity 2,000    
Amount outstanding 10    
Credit Agreement [Member] | Acquisitions [Member]      
Line of Credit Facility [Line Items]      
Maximum borrowing capacity $ 8,000    
Percentage of portion allocated to acquisition purchase price 75.00%    
Remaining borrowing capacity $ 5,500    
Prior Credit Agreement [Member]      
Line of Credit Facility [Line Items]      
Maximum borrowing capacity   $ 9,000  
Line of credit facility outstanding   $ 0  
Long-term debt [Abstract]      
Maturity date Apr. 09, 2018