XML 60 R40.htm IDEA: XBRL DOCUMENT v3.8.0.1
DEBT (Details) - USD ($)
3 Months Ended 6 Months Ended
Nov. 09, 2017
Dec. 31, 2017
Dec. 31, 2017
Jun. 30, 2016
Line of Credit Facility [Line Items]        
Outstanding amount   $ 10,000,000 $ 10,000,000  
Cantaloupe        
Line of Credit Facility [Line Items]        
Borrowings under line of credit $ 27,800,000      
Revolving line of credit facility        
Line of Credit Facility [Line Items]        
Outstanding amount   $ 10,000,000 $ 10,000,000  
Revolving line of credit facility | Credit Agreement | LIBOR        
Line of Credit Facility [Line Items]        
Interest rate   4.00% 4.00%  
Revolving line of 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
Repayments of Lines of Credit $ 7,200,000      
Outstanding amount   $ 0 $ 0  
Revolving line of 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,600,000 $ 24,600,000  
Term loan | JPMorgan Chase Bank, N.A | Credit Agreement        
Line of Credit Facility [Line Items]        
Borrowings under line of credit $ 25,000,000