XML 34 R21.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt (Tables)
9 Months Ended
Mar. 31, 2018
Debt Disclosure [Abstract]  
Schedule of long-term debt
    March 31, 
2018
    June 30, 
2017
 
             
Convertible Senior Notes, net   $ 126,279     $ 121,676  
Revolving Bank Loans     62,000       90,000  
Term Bank Loans     128,526       139,227  
Mortgage     2,615       2,763  
      319,420       353,666  
Less current portion     190,723       14,466  
    $ 128,697     $ 339,200  
 
Schedule of carrying value of notes
    March 31,
2018
    June 30,
2017
 
             
Principal amount   $ 143,750     $ 143,750  
Unamortized debt discount     (15,278 )     (19,255 )
Unamortized debt issuance costs     (2,193 )     (2,819 )
Net carrying value   $ 126,279     $ 121,676  
Schedule of components of total interest expense related to notes
    Nine Months Ended
March 31, 2018
    Three Months Ended
March 31, 2018
 
             
Contractual coupon   $ 2,127     $ 709  
Amortization of debt discount     3,977       1,347  
Amortization of debt issuance costs     626       208  
    $ 6,730     $ 2,264