XML 72 R57.htm IDEA: XBRL DOCUMENT v3.19.1
SUBSEQUENT EVENTS (Details) - USD ($)
1 Months Ended
Jan. 23, 2019
Mar. 26, 2019
Dec. 31, 2018
Jan. 24, 2018
Dec. 31, 2017
Nov. 21, 2017
Debt Instruments [Abstract]            
Outstanding balance     $ 6,450   $ 1,880,114  
Exercise of common stock purchase warrants (in shares)       153,060   1,475,000
Subsequent Event [Member]            
Debt Instruments [Abstract]            
Gross proceeds amount received   $ 1,500,000        
Exercise of common stock purchase warrants (in shares)   4,669,312        
North Mill Capital LLC [Member] | Subsequent Event [Member]            
Debt Instruments [Abstract]            
Period for renewing the loan agreement 2 years          
Additional term loan period 1 year          
Wells Fargo Bank, National Association [Member] | Subsequent Event [Member]            
Debt Instruments [Abstract]            
Accrued interest percentage on debt instrument 1.75%          
Line of credit facility interest rate 7.25%          
Interest paid $ 2,000,000          
Facility fee amount $ 50,000          
Facility fee percentage 0.125%          
Loan Agreement [Member] | Subsequent Event [Member]            
Debt Instruments [Abstract]            
Accrued interest percentage on debt instrument 1.50%          
Percentage of aggregate outstanding amount of eligible billed 90.00%          
Percentage of aggregate outstanding amount of eligible unbilled 80.00%          
Consecutive monthly installment payment $ 1,000,000          
Proceeds from initial advance 2,850,000          
Loan Agreement [Member] | Maximum [Member] | Subsequent Event [Member]            
Debt Instruments [Abstract]            
Outstanding balance $ 10,000,000