Quarterly report pursuant to Section 13 or 15(d)

NOTES PAYABLE (Details Narrative)

v3.19.2
NOTES PAYABLE (Details Narrative)
$ / shares in Units, $ in Thousands
2 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jun. 11, 2019
USD ($)
$ / shares
Mar. 12, 2019
USD ($)
$ / shares
Mar. 31, 2018
shares
Jun. 30, 2019
USD ($)
shares
Jun. 30, 2018
USD ($)
shares
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
shares
Mar. 31, 2019
USD ($)
Unamortized debt discount       $ (2,944)   $ (2,637)  
Cash paid for debt discount       $ 150 $ 645      
Common Stock [Member]                
Debt Conversion - Common Stock, Shares | shares     21,179,712      
Promissory Note [Member] | Accredited Investor [Member]                
Principal amount              
Interest rate 1.50%              
Description of conversion price              
Securities Purchase Agreement [Member] | Convertible promissory note [Member]                
Debt conversion, converted instrument, amount           $ 6,900 $ 13,100  
Securities Purchase Agreement [Member] | Senior Convertible Promissory Note [Member] | Accredited Investor [Member]                
Principal amount $ 4,000 $ 5,000            
Interest rate 7.50% 7.50%            
Debt instrument maturity date Dec. 11, 2020 Dec. 11, 2020            
Purchase price $ 4,000 $ 5,000            
Common stock price per share | $ / shares $ 0.001            
Number of tranches | $ / shares   8            
Securities Purchase Agreement [Member] | March 2018 [Member] | Convertible promissory note [Member]                
Principal amount       $ 5,000        
Interest rate       7.50%        
Convertible debt aggregate value       $ 40,000        
Amount per tranches       $ 5,000        
Securities Purchase Agreement [Member] | March 2018 [Member] | Convertible promissory note [Member]                
Interest rate               7.50%
Convertible debt aggregate value               $ 40,000,000
Amount per tranches               $ 5,000,000
Description of conversion price       For each note issued under the 2018 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) 87% of the average of the two lowest daily volume weighted average price of the Common Stock in the thirteen (13) trading days prior to the conversion date (“Conversion Price”). The 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% 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.        
Securities Purchase Agreement [Member] | March 2018 [Member] | Convertible promissory note one [Member]                
Interest rate             12.00%  
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) day’s notice, that the holder convert the notes at the Conversion Price.        
Issuance of warrants value             $ 560  
Issuance of promissory note | shares             20,000  
Cash paid for debt discount             $ (600)