RESTATEMENT OF PREVIOUSLY ISSUED FINANCIAL STATEMENTS (Parenthetical) (Details 1) - USD ($) |
9 Months Ended | 12 Months Ended | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sep. 30, 2019 |
Dec. 31, 2019 |
Dec. 31, 2018 |
|||||||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||||||||
Preferred stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | ||||||||||||||||
Preferred stock, authorized | 15,000,000 | 15,000,000 | 15,000,000 | ||||||||||||||||
Preferred stock, issued | 0 | 0 | 0 | ||||||||||||||||
Preferred stock, outstanding | 0 | 0 | 0 | ||||||||||||||||
Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | ||||||||||||||||
Common stock, authorized | 250,000,000 | 250,000,000 | 250,000,000 | ||||||||||||||||
Common stock, issued | 47,671,446 | 48,471,446 | 37,341,393 | ||||||||||||||||
Common stock, outstanding | 47,671,446 | 48,471,446 | 37,341,393 | ||||||||||||||||
Increase in warrant derivative liabilities | $ 91,000 | $ 38,000 | $ 8,939,000 | ||||||||||||||||
Decrease in short-term notes payable | (3,886,000) | (3,749,000) | (6,212,000) | ||||||||||||||||
Decrease in long-term notes payable | (925,000) | ||||||||||||||||||
Increase (decrease) in additional paid-in capital | 212,619,000 | 215,207,000 | 149,682,000 | ||||||||||||||||
Increase in equity method investment | 13,407,000 | 13,325,000 | 13,569,000 | ||||||||||||||||
Increase (decrease) in accounts payable and accrued expenses | 10,926,000 | 11,498,000 | 8,235,000 | ||||||||||||||||
Increase (decrease) in cash and cash equivalent | (2,579,000) | (2,136,000) | (18,651,000) | ||||||||||||||||
Decrease in prepaid expenses and other current assets | 1,541,000 | 1,402,000 | 634,000 | ||||||||||||||||
Increase on current liability | 31,371,000 | 32,827,000 | 45,557,000 | ||||||||||||||||
Increase in accounts receivable | 1,982,000 | $ 2,150,000 | 1,788,000 | ||||||||||||||||
Adjustments [Member] | |||||||||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||||||||
Increase in warrant derivative liabilities | 91,000 | [1] | 8,939,000 | [2],[3] | |||||||||||||||
Decrease in short-term notes payable | [3] | 182,000 | |||||||||||||||||
Decrease in long-term notes payable | [3] | 96,000 | |||||||||||||||||
Increase (decrease) in additional paid-in capital | 13,224,000 | [1],[4] | 8,779,000 | [2],[3],[5] | |||||||||||||||
Increase in equity method investment | 13,407,000 | [4] | 13,569,000 | [6] | |||||||||||||||
Increase (decrease) in accounts payable and accrued expenses | 220,000 | [4] | (887,000) | [6] | |||||||||||||||
Increase in noncontrolling interest | 725,000 | 97,000 | [6] | ||||||||||||||||
Increase (decrease) in cash and cash equivalent | 954,000 | (13,174,000) | |||||||||||||||||
Decrease in prepaid expenses and other current assets | 347,000 | [4],[7] | (109,000) | [2],[6] | |||||||||||||||
Increase on current liability | (3,862,000) | 8,031,000 | |||||||||||||||||
Increase in accounts receivable | 82,000 | [7] | 437,000 | [2] | |||||||||||||||
Adjustments [Member] | Warrant Adjustments [Member] | |||||||||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||||||||
Increase in warrant derivative liabilities | 91,000 | 7,500,000 | |||||||||||||||||
Decrease in short-term notes payable | 182,000 | ||||||||||||||||||
Decrease in long-term notes payable | 96,000 | ||||||||||||||||||
Increase (decrease) in additional paid-in capital | (776,000) | (9,700,000) | |||||||||||||||||
Adjustments [Member] | Financing Agreement On Insurance Premium [Member] | |||||||||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||||||||
Increase on prepaid expenses | 598,000 | 141,000 | |||||||||||||||||
Increase on current liability | 141,000 | ||||||||||||||||||
Adjustments [Member] | Stock Modification Accounting [Member] | |||||||||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||||||||
Increase (decrease) in additional paid-in capital | 52,000 | ||||||||||||||||||
Adjustments [Member] | Accounting Treatment on Conversion Feature [Member] | |||||||||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||||||||
Increase (decrease) in additional paid-in capital | 172,000 | ||||||||||||||||||
Adjustments [Member] | Cashless Warrants Adjustments [Member] | |||||||||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||||||||
Increase (decrease) in additional paid-in capital | 18,300,000 | ||||||||||||||||||
Adjustments [Member] | Variable Consideration [Member] | |||||||||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||||||||
Increase (decrease) in accounts payable and accrued expenses | (946,000) | ||||||||||||||||||
Increase on current liability | 22,000 | ||||||||||||||||||
Increase in accounts receivable | 82,000 | 436,000 | |||||||||||||||||
Decrease in income tax receivable | 10,000 | ||||||||||||||||||
Increase in income tax payable | 24,000 | ||||||||||||||||||
Adjustments [Member] | EJ Holding, Inc. [Member] | |||||||||||||||||||
Error Corrections And Prior Period Adjustments Restatement [Line Items] | |||||||||||||||||||
Increase in equity method investment | 13,400,000 | 13,600,000 | |||||||||||||||||
Increase (decrease) in accounts payable and accrued expenses | 220,000 | 58,000 | |||||||||||||||||
Increase in noncontrolling interest | 725,000 | 97,000 | |||||||||||||||||
Increase (decrease) in cash and cash equivalent | (13,200,000) | ||||||||||||||||||
Decrease in prepaid expenses and other current assets | $ (241,000) | $ (240,000) | |||||||||||||||||
|