COMMITMENTS AND CONTINGENCIES (Tables)
12 Months Ended
Jun. 30, 2019
Commitments and Contingencies Disclosure [Abstract]  
Future minimum annual payments under operating leases
At June 30, 2019, future minimum annual payments under operating leases are as follows (in thousands):
Fiscal Year2020 2021 2022 2023 2024 ThereafterTotal
Operating leases$7,395 $5,509 $2,639 $2,205 $1,982 $7,116 $26,846