Quarterly report pursuant to Section 13 or 15(d)

Long-Term Debt (Details Textual)

v3.19.2
Long-Term Debt (Details Textual) - USD ($)
1 Months Ended 6 Months Ended 12 Months Ended
Apr. 30, 2019
Apr. 02, 2018
Jun. 30, 2019
Jun. 30, 2018
Dec. 31, 2018
Debt Instrument [Line Items]          
Amortization expense     $ 260,103  
Warrant liability     33,529,599   $ 1,822,819
Value of warrants     $ 31,706,780  
Class of Warrant Holder Percentage         19.99%
Credit Agreement [Member]          
Debt Instrument [Line Items]          
Warrants to purchase of common stock shares     8,053,390    
Warrants exercise price     $ 1.25    
Warrants to purchase common stock, description     The Company will be required to issue additional Common Stock Purchase Warrants (the "Additional Warrants") to the Lenders equal to 10%, in the aggregate, of any additional equity issuances, subject to certain exceptions, on substantially the same terms and conditions of the Initial Warrants, except that (i) the applicable expiration date thereof shall be five years from the issuance date of the applicable warrant, (ii) the initial exercise price shall be a price equal to the price per share of common stock used in the relevant issuance multiplied by 110%, and (iii) the holder shall be entitled to exercise the warrant on a cashless exercise at any time the warrant is exercisable.    
Credit agreement, description   (i) the minimum liquidity, providing that at least $4 million must be maintained at all times on or after April 30, 2019 rather than beginning on March 31, 2019; (ii) the maximum total leverage ratio (ratio of total debt borrowed by the Company and its subsidiaries to EBITDA), providing that the maximum total leverage ratio shall not exceed 4.50:1.00 on the last day of the quarter ending December 31, 2019, rather than beginning with the quarter ending September 30, 2019, which total leverage ratio is adjusted for subsequent quarters as set forth in the Credit Agreement; and (iii) the maximum debt service coverage ratio (ratio of EBITDA (for the four consecutive fiscal quarters most recently ended, subject to certain adjustments set forth in the Credit Agreement) to interest expense and payments for operating leases), providing that the maximum debt service coverage ratio shall not exceed 1.25:1.00 on the last day of the quarter ending December 31, 2019, rather than beginning with the quarter ending September 30, 2019, which debt service coverage ratio is adjusted for subsequent quarters as set forth in the Credit Agreement.     The Company entered into a Credit Agreement (the “Credit Agreement”), with Marathon Asset Management, LP, on behalf of certain entities it manages, as lenders (collectively, the “Lenders”). The Credit Agreement provided the Company with a $10 million tranche of term loans (the “Tranche One Loan”) which may not be re-borrowed following repayment and (ii) a $25 million tranche of revolving loans which may be re-borrowed following repayment (the “Tranche Two Loans” together with the Tranche One Loan, the “Loans”).
Amendment to credit agreement, description The Company entered into the Third Amendment to Credit Agreement (the "Marathon Third Amendment"). The Marathon Third Amendment amended the minimum liquidity covenant, providing that at least $4 million must be maintained at all times at or after May 31, 2019 rather than at all times on or after April 30, 2019. Unless the Company fails to maintain minimum liquidity as of the last day of any calendar month, the Company may cure a failure to maintain minimum liquidity by increasing liquidity to $4.0 million within five business days of the occurrence.