Annual report pursuant to Section 13 and 15(d)

Debt (Details Textual)

v3.19.3.a.u2
Debt (Details Textual) - USD ($)
1 Months Ended 9 Months Ended 12 Months Ended
Aug. 08, 2019
May 03, 2019
Feb. 08, 2019
Oct. 12, 2018
Oct. 05, 2018
Nov. 22, 2019
Jun. 27, 2019
Jan. 29, 2019
Dec. 21, 2018
Aug. 14, 2017
Sep. 30, 2019
Dec. 31, 2019
Dec. 31, 2018
Nov. 30, 2019
Aug. 31, 2019
Aug. 12, 2019
Debt (Textual)                                
Revolving lines of credit, description             The Company may pay all or any portion of the amount owed earlier than it is due; provided, that in the event the Company elects to prepay all or any portion of the outstanding balance, it shall pay to the Holder 115% of the portion of the outstanding balance the Company elects to prepay.         The outstanding balance of the revolving line of credit was approximately $150,000.        
Debt discount                       $ 628,000 $ 752,000      
Principal amount of original note                       $ 2,112,000        
Shares of common stock exchanged                       707,071        
Default interest rate             22.00%                  
Loss on exchange of debt for equity                       $ (294,000)      
Exchange price per share                       $ 1.80        
Standstill Agreement Fee $ 206,149                              
Exchange agreement conversion price per share                       $ 4.95        
Repayments of other short term debt                       $ 74,065        
Promissory Note [Member]                                
Debt (Textual)                                
Aggregate purchase price $ 1,500,000 $ 3,000,000       $ 750,000 $ 1,500       $ 750,000          
Revolving lines of credit, description The Company may pay all or any portion of the amount owed earlier than it is due; provided, that in the event the Company elects to prepay all or any portion of the outstanding balance, it shall pay to the Holder 115% of the portion of the outstanding balance the Company elects to prepay.         The Company may pay all or any portion of the amount owed earlier than it is due; provided, that in the event the Company elects to prepay all or any portion of the outstanding balance, it shall pay to the Holder 115% of the portion of the outstanding balance the Company elects to prepay.         The Company may pay all or any portion of the amount owed earlier than it is due; provided, that in the event the Company elects to prepay all or any portion of the outstanding balance, it shall pay to the Holder 115% of the portion of the outstanding balance the Company elects to prepay.          
Description of note purchase agreement   The Company may pay all or any portion of the amount owed earlier than it is due; provided, that in the event the Company elects to prepay all or any portion of the outstanding balance, it shall pay to the Holder 115% of the portion of the outstanding balance the Company elects to prepay.         (a) twenty-five percent (25%) of the outstanding balance of the June 2019 Note if the Company receives net proceeds equal to $2,500,000.00 or less; (b) fifty percent (50%) of the outstanding balance of the June 2019 Note if the Company receives net proceeds of more than $2,500,000.00 but less than $5,000,000.00; and (c) one hundred percent (100%) of the outstanding balance of the June 2019 Note if the Company receives net proceeds equal to $5,000,000.00 or more.                  
Principal amount of original note $ 1,895,000 $ 3,770,000       $ 952,500 $ 1,895,000       $ 952,500          
Original issue discount 375,000 750,000       187,500 375,000       187,500          
Debt transaction costs $ 20,000 $ 20,000       $ 15,000 $ 20,000       $ 15,000          
Interest rate 10.00% 10.00%       10.00% 10.00%       10.00%          
Default interest rate 22.00%         22.00%         22.00%          
Amendment to Note Purchase Agreements [Member]                                
Debt (Textual)                                
Description of note purchase agreement     The Company entered into a global amendment (the "Global Amendment") to the note purchase agreements entered into on October 12, 2018 and December 21, 2018, in connection with the notes issued as of such dates, to delete the phrase "by cancellation or exchange of the Note, in whole or in part" from Section 8.1 of those agreements. The Company also agreed to pay Iliad's fees and other expenses in an aggregate amount of $80,000 (the "Fee") in connection with the preparation of the Global Amendment by adding $40,000 of the Fee to the outstanding balance of each of the notes.                          
Mandatory Default Amount [Member]                                
Debt (Textual)                                
Amount of principal owed if debt is prepaid                           115.00% 115.00%  
Chicago Venture Partners, L.P [Member]                                
Debt (Textual)                                
Description of exchange agreement               Pursuant to which the Company and the Note Holder agreed to (i) partition a new convertible promissory note in the form of the Original Note (the "Partitioned Note") in the original principal amount equal to the Remaining Balance (the "Exchange Amount") and then cause the Remaining Balance to be reduced by the Exchange Amount; and (ii) exchange the Partitioned Note for the delivery of 3,842 shares of the Company's common stock at an effective price share equal to $99.90.                
Note outstanding balance               $ 383,768                
Purchase Agreement [Member]                                
Debt (Textual)                                
Description of note purchase agreement       The Company entered into a note purchase agreement with Iliad Research and Trading, L.P. (the "Holder" or "Iliad"), which is affiliated with Chicago Venture, pursuant to which the Company agreed to issue and sell to the Holder an unsecured promissory note in an aggregate principal amount of $2,520,000, which is payable on or before the date that is 12 months from the issuance date. The initial principal amount includes an original issue discount of $500,000 and $20,000 that the Company agreed to pay to the Holder to cover the holder's legal fees, accounting costs, due diligence, monitoring and other transaction costs. In exchange for the note, the Holder paid an aggregate purchase price of $2,000,000. Interest on the note accrues at a rate of 10% per annum and is payable on the maturity date or otherwise in accordance with the note. Beginning as of the date that was 6 months from the issuance date and at the intervals indicated below until the note is paid in full, the Holder has the right to redeem up to an aggregate of 1/3 of the initial principal balance of the note each month (each monthly exercise, a "Monthly Redemption Amount") by providing written notice (each, a "Monthly Redemption Notice") to the Company; provided, however, that if the Monthly Redemption Amount is not exercised in its corresponding month then such Monthly Redemption Amount will be available for the Holder to redeem in any future month in addition to such future month's Monthly Redemption Amount. Upon receipt of any Monthly Redemption Notice, the Company is required to pay the applicable Monthly Redemption Amount in cash to the Holder within 5 business days of the Company's receipt of such Monthly Redemption Notice.         The Company entered into a note purchase agreement with Iliad, pursuant to which the Company agreed to issue and sell to Iliad an unsecured promissory note (the "December 2018 Note") in an aggregate principal amount of $1,895,000, which is payable on or before December 31, 2019 (as provided in the Exchange Agreement, dated October 24, 2019, described below (the "October 24th Exchange Agreement")). The initial principal amount includes an original issue discount of $375,000 and $20,000 that the Company agreed to pay to the Holder to cover its legal fees, accounting costs, due diligence, monitoring and other transaction costs. In exchange for the December 2018 Note, the Holder paid an aggregate purchase price of $1,500,000. Interest on the Note accrues at a rate of 10% per annum and is payable on the maturity date or otherwise in accordance with the December 2018 Note. The Company may pay all or any portion of the amount owed earlier than it is due; provided, that in the event the Company elects to prepay all or any portion of the outstanding balance, it will pay 115% of the portion of the outstanding balance the Company elects to prepay. Beginning on the date that is 6 months from the issuance date and at the intervals indicated below until the December 2018 Note is paid in full, the Holder has the right to redeem up to an aggregate of 1/3 of the initial principal balance of the December 2018 Note each month (each monthly exercise, a "Monthly Redemption Amount") by providing written notice (each, a "Monthly Redemption Notice") delivered to the Company; provided, however, that if any Monthly Redemption Amount is not exercised in its corresponding month then such Monthly Redemption Amount will be available for the Holder to redeem in any future month in addition to such future month's Monthly Redemption Amount. Upon receipt of any Monthly Redemption Notice, the Company shall pay the applicable Monthly Redemption Amount in cash within 5 business days of the Company's receipt of such Monthly Redemption Notice.              
Payplant Accounts Receivable Bank Line [Member]                                
Debt (Textual)                                
Bank line advance rate                   80.00%            
Term of loan                   360 days            
Revolving lines of credit, description                   The Company must provide Lender with (i) one or more promissory notes for the amount being loaned in favor of Lender, (ii) one or more guaranties executed in favor of Lender and (iii) other documents and evidence of the completion of such other matters as Lender may request. The principal amount of each loan shall accrue interest at a 30 day rate of 2% (the “Interest Rate”), calculated per day on the basis of a year of 360 days and, when combined with all fees that may be characterized as interest will not exceed the maximum rate allowed by law. Upon the occurrence and during the continuance of any event of default, interest shall accrue at a rate equal to the Interest Rate plus 0.42% per 30 days.            
November 2017 [Member]                                
Debt (Textual)                                
Deemed dividend         $ 8,817,000                      
Common stock issuable upon exercise of such warrants         30,315                      
Exchange agreement conversion price per share         $ 486                      
May Noteholder [Member]                                
Debt (Textual)                                
Description of exchange agreement                       The Company exchanged approximately $2,076,000 of the outstanding principal and interest under the note for 738,889 shares of the Company's common stock at exchange prices between $1.80 and $3.51 per share. The Company analyzed the exchange of principal under the note as an extinguishment and compared the net carrying value of the debt being extinguished to the reacquisition price (shares of common stock being issued) and recorded an approximately $96,000 loss on the exchange of debt for equity as a separate item in the other income/expense section of the consolidated statements of operations for the year ended December 31, 2019.        
December 2018 [Member]                                
Debt (Textual)                                
Note outstanding balance                       $ 28,749        
December 17, 2019 [Member] | Promissory Note [Member]                                
Debt (Textual)                                
Note outstanding balance                     $ 97,661          
Interest rate                     10.00%          
February 22, 2020 [Member] | Promissory Note [Member]                                
Debt (Textual)                                
Note outstanding balance           $ 97,688                    
Interest rate           10.00%                    
Note Purchase Agreement [Member]                                
Debt (Textual)                                
Principal amount of original note                       $ 2,729,000        
Shares of common stock exchanged                       92,831        
Standstill Agreement Fee                               $ 191,883
Note Purchase Agreement [Member] | Minimum [Member]                                
Debt (Textual)                                
Exchange price per share                       $ 22.95        
Note Purchase Agreement [Member] | Maximum [Member]                                
Debt (Textual)                                
Exchange price per share                       $ 40.45        
Note Purchase Agreement [Member] | September 2019 [Member]                                
Debt (Textual)                                
Note outstanding balance                       $ 1,050,161        
Note Purchase Agreement [Member] | August 2019 [Member]                                
Debt (Textual)                                
Note outstanding balance                       1,895,000        
Note Purchase Agreement [Member] | June 2019 [Member]                                
Debt (Textual)                                
Note outstanding balance                       2,086,883        
Note Purchase Agreement [Member] | May 2019 [Member]                                
Debt (Textual)                                
Note outstanding balance                       1,694,000        
Note Purchase Agreement [Member] | November 2019 [Member]                                
Debt (Textual)                                
Note outstanding balance                       $ 952,500