BASIC AND DILUTED NET LOSS PER SHARE (Details) - shares |
3 Months Ended | |
|---|---|---|
Sep. 30, 2018 |
Sep. 30, 2017 |
|
| Stock options and RSUs | 13,985,688 | 13,551,752 |
| Stock warrants | 397,500 | 577,500 |
| Series B preferred shares | 3,967,176 | 3,594,065 |
| Total | 18,350,364 | 17,723,317 |