XML 21 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Cash flows from operating activities      
Net loss $ (23,899) $ (29,579) $ (25,504)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 9,732 18,043 18,296
Share-based compensation 12,289 13,629 12,638
Amortization of debt issuance costs 1,629 3,785 1,728
Amortization and accretion of discount and premium on investments (15) 67 801
Loss on sales of investments 171    
Accretion of interest on debt 3,376 4,052 6,321
Provision for (recovery of) bad debt, net (73) 119 127
Provision for write-down of inventories 1,603 2,253 2,444
(Gain) loss on disposal of property and equipment (8) 8 153
Loss on extinguishment of debt 3,452   965
Provision (benefit) for deferred income taxes 30 (268) (404)
Changes in assets and liabilities:      
Accounts receivable, short and long-term 7,223 (15,732) 16,994
Inventories (8,685) 7,675 (10,502)
Prepaid expenses and other assets 4,209 (4,437) 16
Deferred cost of revenue 2,422 3,321 1,452
Accounts payable 2,002 2,189 2,404
Accrued liabilities 1,577 8,316 (1,944)
Customer advances 6,189 (5,158) 2,578
Deferred revenues (4,893) (8,663) 2,362
Net cash provided by (used in) operating activities 18,331 (380) 30,925
Cash flows from investing activities      
Purchases of property and equipment, net (6,276) (5,031) (8,066)
Purchase of intangible assets (333) (333)  
Purchases of investments (5,940) (14,992) (64,356)
Sales and maturities of investments 30,315 38,179 80,684
Net cash provided by investing activities 17,766 17,823 8,262
Cash flows from financing activities      
Proceeds from employee stock plans 4,389 3,786 3,849
Taxes paid related to net share settlement of equity awards (293) (1,419) (2,832)
Payments made to note and loan holders (69,797) (105,158) (66,406)
Proceeds from debt, net of costs 66,111 48,253 64,632
Repayments under Revolving Credit Facility, net (27,863)    
Net cash used in financing activities (27,453) (54,538) (757)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (346) 197 (1,006)
Net increase (decrease) in cash, cash equivalents and restricted cash 8,298 (36,898) 37,424
Cash, cash equivalents and restricted cash at beginning of period 85,235 122,133 84,709
Cash, cash equivalents and restricted cash at end of period 93,533 85,235 122,133
Supplemental Disclosure of Cash Flow Information      
Cash paid for income taxes 1,460 4,458 1,026
Cash paid for interest 9,187 9,927 10,340
Non-cash financing activities:      
Exchange of Convertible Notes 6,641    
Modification of Revolving Credit Facility 1,997    
Non-cash investing activities:      
Unpaid purchase of property and equipment at end of year 399 210 218
Unpaid purchase of intangible assets at end of year   667  
Transfers from inventory to property and equipment $ 174 $ 1,395 $ 1,660