NOTES PAYABLE AND LONG-TERM DEBT (Details) $ in Thousands | Mar. 31, 2018 | Dec. 31, 2017 | Mar. 31, 2017USD ($) | Dec. 31, 2016USD ($) | Jun. 30, 2016USD ($) |
Long-term debt [Abstract] | | | | | |
Total long-term debt | | | $ 2,725 | | |
Less: current portion | | | 604 | | $ 0 |
Long-term debt, net of current portion | | | 2,121 | | $ 0 |
Unsecured Note Payable [Member] | | | | | |
Long-term debt [Abstract] | | | | | |
Monthly payments | | | $ 7 | | |
Maturity date | | | Sep. 30, 2018 | | |
Total long-term debt | | | $ 125 | | |
Term Loan [Member] | | | | | |
Line of Credit Facility [Line Items] | | | | | |
Maturity period | | | 5 years | | |
Interest rate | | | 3.48% | | |
Long-term debt [Abstract] | | | | | |
Monthly payments | | | $ 43 | | |
Maturity date | | | Mar. 31, 2022 | | |
Total long-term debt | | | $ 2,600 | | |
Credit Agreement [Member] | | | | | |
Line of Credit Facility [Line Items] | | | | | |
Maximum borrowing capacity | | | $ 14,000 | $ 9,000 | |
Percentage of eligible accounts receivable considered for borrowing base | | | 80.00% | | |
Percentage of eligible inventory considered for borrowing base | | | 50.00% | | |
Maturity period | | | 2 years | | |
Unused capacity, commitment fee percentage | | | 0.25% | | |
Remaining borrowing capacity | | | $ 11,400 | | |
Basis spread of variable rate | | | 0.00% | | |
Debt cash flow of leverage ratio as on December 31, 2017 | 3 | 3.25 | | | |
Long-term debt [Abstract] | | | | | |
Maturity date | | | Mar. 29, 2019 | | |
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.50 | | |
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 | | |
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 | | |
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,400 | | |
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% | | |
Prior Credit Agreement [Member] | | | | | |
Long-term debt [Abstract] | | | | | |
Maturity date | | | Apr. 9, 2018 | | |
Prior Credit Agreement [Member] | Letters of Credit [Member] | | | | | |
Line of Credit Facility [Line Items] | | | | | |
Amount outstanding | | | $ 300 | | |