GOODWILL AND INTANGIBLE ASSETS (Details) - USD ($) | 6 Months Ended | |
Dec. 31, 2016 | Dec. 31, 2015 | Jun. 30, 2016 |
Finite-Lived Intangible Assets [Line Items] | | | |
Intangible assets, original amount | $ 5,067,000 | | $ 1,631,000 |
Intangible assets, accumulated amortization | (803,000) | | (502,000) |
Total | 4,264,000 | | 1,129,000 |
Intangible assets, amortization expense | 300,000 | $ 28,000 | |
Goodwill [Roll Forward] | | | |
Balance at June 30, 2016 | 1,039,000 | | |
Goodwill acquired during the six months ended December 31, 2016 | 5,685,000 | | |
Balance at December 31, 2016 | 6,724,000 | | |
Future amortization of intangible assets [Abstract] | | | |
2,017 | 606,000 | | |
2,018 | 606,000 | | |
2,019 | 606,000 | | |
2,020 | 606,000 | | |
2,021 | 594,000 | | |
Thereafter | 1,246,000 | | |
Total | $ 4,264,000 | | 1,129,000 |
Customer Relationships [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 7 years | | |
Intangible assets, original amount | $ 3,007,000 | | 580,000 |
Intangible assets, accumulated amortization | (277,000) | | (60,000) |
Total | 2,730,000 | | 520,000 |
Future amortization of intangible assets [Abstract] | | | |
Total | 2,730,000 | | 520,000 |
Permits [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Intangible assets, original amount | 1,290,000 | | 668,000 |
Intangible assets, accumulated amortization | (239,000) | | (191,000) |
Total | 1,051,000 | | 477,000 |
Future amortization of intangible assets [Abstract] | | | |
Total | $ 1,051,000 | | 477,000 |
Permits [Member] | Minimum [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 6 years | | |
Permits [Member] | Maximum [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 15 years | | |
Patents [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Intangible assets, original amount | $ 383,000 | | 383,000 |
Intangible assets, accumulated amortization | (257,000) | | (251,000) |
Total | 126,000 | | 132,000 |
Future amortization of intangible assets [Abstract] | | | |
Total | $ 126,000 | | 132,000 |
Patents [Member] | Minimum [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 5 years | | |
Patents [Member] | Maximum [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 17 years | | |
Trade Name [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 7 years | | |
Intangible assets, original amount | $ 270,000 | | 0 |
Intangible assets, accumulated amortization | (19,000) | | 0 |
Total | 251,000 | | 0 |
Future amortization of intangible assets [Abstract] | | | |
Total | $ 251,000 | | 0 |
Non-compete [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 5 years | | |
Intangible assets, original amount | $ 117,000 | | 0 |
Intangible assets, accumulated amortization | (11,000) | | 0 |
Total | 106,000 | | 0 |
Future amortization of intangible assets [Abstract] | | | |
Total | $ 106,000 | | $ 0 |