XML 56 R45.htm IDEA: XBRL DOCUMENT v3.8.0.1
DEBT (Details) - USD ($)
3 Months Ended 9 Months Ended
Nov. 09, 2017
Mar. 31, 2018
Mar. 31, 2018
Dec. 31, 2017
Jun. 30, 2016
Line of Credit Facility [Line Items]          
Repayment of line of credit, net     $ 7,111,000    
Outstanding amount   $ 10,000,000 10,000,000    
Cantaloupe          
Line of Credit Facility [Line Items]          
Borrowings under line of credit $ 27,800,000        
Revolving Credit Facility          
Line of Credit Facility [Line Items]          
Outstanding amount   $ 10,000,000 $ 10,000,000    
Revolving Credit Facility | Credit Agreement | LIBOR          
Line of Credit Facility [Line Items]          
Interest rate   4.00% 4.00%    
Revolving Credit Facility | Heritage Bank Of Commerce | Loan And Security Agreement          
Line of Credit Facility [Line Items]          
Maximum limit of amount under line of credit         $ 12,000,000
Repayment of line of credit, net $ 7,200,000        
Outstanding amount       $ 0  
Revolving Credit Facility | JPMorgan Chase Bank, N.A | Credit Agreement          
Line of Credit Facility [Line Items]          
Debt instrument term 5 years        
Borrowings under line of credit $ 35,000,000        
Maximum limit of amount under line of credit 12,500,000        
Term Loan          
Line of Credit Facility [Line Items]          
Outstanding amount   $ 24,000,000 $ 24,000,000    
Term Loan | JPMorgan Chase Bank, N.A | Credit Agreement          
Line of Credit Facility [Line Items]          
Borrowings under line of credit $ 25,000,000