XML 39 R29.htm IDEA: XBRL DOCUMENT v3.19.1
2. SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details - Impact on statement of operations and comprehensive loss ) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Jan. 31, 2019
Jan. 31, 2018
Contract manufacturing revenue $ 13,781 $ 6,819 $ 36,548 $ 46,678
Cost of contract manufacturing 11,731 10,951 32,972 47,641
Gross profit (loss) 2,050 (4,132) 3,576 (963)
Operating loss (1,192) (8,956) (5,697) (14,494)
Loss from continuing operations (1,139) $ (8,928) (5,290) $ (14,429)
Balance Without Adoption of ASC 606 [Member]        
Contract manufacturing revenue 14,934   25,870  
Cost of contract manufacturing 12,352   25,688  
Gross profit (loss) 2,582   182  
Operating loss (660)   (9,091)  
Loss from continuing operations (607)   (8,684)  
Effect of Change [Member]        
Contract manufacturing revenue (1,153)   10,678  
Cost of contract manufacturing (621)   7,284  
Gross profit (loss) (532)   3,394  
Operating loss (532)   3,394  
Loss from continuing operations $ (532)   $ 3,394