XML 52 R38.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt (Tables)
12 Months Ended
Jun. 30, 2018
Debt Disclosure [Abstract]  
Schedule of long-term debt
    June 30,  
    2018     2017  
             
Convertible Senior Notes, net   $ 127,857     $ 121,676  
Revolving bank loans     62,000       90,000  
Term bank loans     124,959       139,227  
Mortgage     2,582       2,763  
      317,398       353,666  
Less current portion     14,482       14,466  
    $ 302,916     $ 339,200  
Schedule of carrying value of the notes
  June 30,
2018
  June 30,
2017
 
       
Principal amount $143,750  $143,750 
Unamortized debt discount  (13,909)  (19,255)
Unamortized debt issuance costs  (1,984)  (2,819)
Net carrying value $127,857  $121,676 
Schedule of components of total interest expense related to the notes
  2018  2017 
       
Contractual coupon $2,875  $2,867 
Amortization of debt discount  5,346   5,012 
Amortization of debt issuance costs  835   835 
  $9,056  $8,714 
Schedule of maturities of long-term debt
2019     14,482  
2020     14,465  
2021     142,322  
2022     144,352  
2023     197  
Thereafter     1,580  
    $ 317,398