Annual report pursuant to Section 13 and 15(d)

NOTES PAYABLE (Details Narrative)

v3.20.1
NOTES PAYABLE (Details Narrative)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Oct. 05, 2018
USD ($)
Jan. 18, 2018
USD ($)
Nov. 22, 2017
USD ($)
Dec. 31, 2019
USD ($)
integer
$ / shares
shares
Dec. 31, 2018
USD ($)
$ / shares
shares
Unamortized debt discount remaining balance       $ 250  
Total debt       6,609,398 $ 1,918,676
Unamortized debt discount       $ (2,638) (4,791)
Common stock issued in conversion of debt | shares       16,652,002  
Common stock issued upon conversion of accrued interest | shares       29,380,222  
Debt conversion, converted instrument, amount       $ 13,440 30,974
Issuance of warrants value         889
Cash paid for debt discount       150 $ 1,195
Securities Purchase Agreement [Member] | Convertible promissory note [Member] | October 21, 2019 [Member]          
Debt Instrument, principal amount       $ 1,500  
Interest rate       7.50%  
Debt instrument maturity date       Apr. 21, 2021  
Conversion price | $ / shares       $ 4.50
Securities Purchase Agreement [Member] | Convertible promissory note [Member] | June 11, 2019 [Member]          
Debt Instrument, principal amount       $ 4,000  
Interest rate       7.50%  
Debt instrument maturity date       Dec. 11, 2020  
Conversion price | $ / shares       $ 0.001
Debt conversion, converted instrument, amount       $ 4,000 $ (19,314,324)
Convertible note description       The Note is the seventh of eight tranches of 7.5% Senior Convertible Promissory Notes to be issued by the Company to the Purchaser pursuant to the Purchase Agreement.  
Securities Purchase Agreement [Member] | Convertible promissory note [Member] | March 2018 [Member]          
Convertible note description        
Description of conversion price       In addition, at any time that (i) the daily volume weighted average price of the Common Stock for the prior ten (10) consecutive trading days is $10.50 or more and (ii) the average daily trading value of the Common Stock is greater than $2.50 million for the prior ten (10) consecutive trading days, then the Company may demand, upon one (1) days’ notice, that the holder convert the notes at the Conversion Price.  
Securities Purchase Agreement [Member] | Convertible promissory note [Member] | 2017 [Member]          
Interest rate       7.50%  
Debt conversion, converted instrument, amount       $ 13,100  
Description of conversion price       For each note issued under the Master Securities Purchase Agreement, the principal and interest due and owed under the note is convertible into shares of Common Stock at any time at the election of the holder at a conversion price per share equal to the lower of (i) the original conversion price as defined in each note issuance or (ii) 85.0% of the lowest daily volume weighted average price of the Common Stock in the fifteen (15) trading days prior to the conversion date (“Conversion Price”), which Conversion Price is subject to adjustment for (i) stock splits, stock dividends, combinations, or similar events and (ii) full ratchet anti-dilution protection. Upon certain events of default, the conversion price will automatically become 70.0% of the average of the three (3) lowest volume weighted average prices of the Common Stock in the twenty (20) consecutive trading days prior to the conversion date for so long as such event of default remains in effect.  
Issuance of warrants value       $ 560  
Unamortized debt due discount amount       6,900  
Cash paid for debt discount       600  
Convertible debt aggregate value       40,000  
Amount per tranches       $ 5,000  
Number of tranches | integer       8  
Principle remains outstanding balance       $ 8,350  
Securities Purchase Agreement [Member] | Convertible promissory note [Member]          
Interest rate         12.00%
Debt conversion, converted instrument, amount         $ 13,100
Unamortized debt due discount amount         $ 6,900
Issuance of promissory note | shares         20,000,000
Securities Purchase Agreement [Member] | Convertible promissory note [Member] | March 12, 2019 [Member]          
Debt Instrument, principal amount       $ 5,000  
Interest rate       7.50%  
Debt instrument maturity date       Sep. 12, 2020  
Conversion price | $ / shares       $ 0.001
Debt conversion, converted instrument, amount       $ 5,000 $ (19,314,324)
Convertible note description       The Note is the sixth of eight tranches of 7.5% Senior Convertible Promissory Notes to be issued by the Company to the Purchaser pursuant to the Purchase Agreement  
Securities Purchase Agreement [Member] | Convertible promissory note one [Member] | March 2018 [Member]          
Debt conversion, converted instrument, amount       $ 18,700  
Issuance of warrants value       540  
Cash paid for debt discount       $ 670  
Third Party Creditor [Member] | California [Member] | Promissory Note [Member]          
Interest rate 12.00% 12.00% 12.00%    
Debt instrument maturity date Oct. 05, 2021   Dec. 01, 2020    
Issuance of warrants value   $ 160      
Cash paid for debt discount   200      
Purchase of land and building $ 1,600 $ 6,500 $ 4,500    
Interest rate increase per year through 2020 0.50%   0.50%    
Interest rate escalation description The interest rate for the first year is 12.0% and increases 0.5% per year through 2020. The interest rate for the first year is 12.0% and increases 0.5% per year, up to 13.0%, through 2021. The promissory note is collateralized by the land and building purchased and matures in December 1, 2020.