Quarterly report pursuant to Section 13 or 15(d)

Notes and Other Obligations (Details)

v3.19.2
Notes and Other Obligations (Details)
1 Months Ended 3 Months Ended 6 Months Ended
Jun. 27, 2019
USD ($)
Aug. 23, 2018
USD ($)
Aug. 23, 2018
CAD ($)
Mar. 28, 2018
CAD ($)
Feb. 21, 2018
USD ($)
Jun. 30, 2019
USD ($)
shares
Jun. 30, 2018
USD ($)
Jun. 30, 2019
USD ($)
shares
Jun. 30, 2018
USD ($)
Jan. 28, 2019
USD ($)
$ / shares
shares
Mar. 28, 2018
$ / shares
Debt Instrument [Line Items]                      
Conversion of notes into shares | shares           1,813,500          
Fair value of conversion of shares           $ 10,225,959   $ 10,225,959      
Gain on extinguishment of debt               808,026    
One time settlement amount               100,000      
Other income           $ 729,154 $ 808,026    
Restricted Stock [Member]                      
Debt Instrument [Line Items]                      
Issuance of common stock | shares               106,251      
Senior Secured Convertible Promissory Notes [Member]                      
Debt Instrument [Line Items]                      
Interest rate                   8.00%  
Fair value of notes                   $ 6,330,726  
Upfront costs and fees               $ 358,333      
Conversion of notes into shares | shares           1,813,500          
Fair value of conversion of shares           $ 10,200,000   $ 3,900,000      
Senior Secured Convertible Promissory Notes [Member] | Restricted Stock [Member]                      
Debt Instrument [Line Items]                      
Issuance of common stock | shares               150,000      
Senior Secured Convertible Promissory Notes [Member] | Investors [Member]                      
Debt Instrument [Line Items]                      
Conversion price | $ / shares                   $ 2.00  
Percentage of lowest volume-weighted adjusted price of shares                   80.00%  
Exercise price | $ / shares                   $ 1.94  
Debt instrument face amount           $ 3,358,333   $ 3,358,333   $ 3,358,333  
Percentage amount of shares issuable upon full conversion of Notes                   300.00%  
Warrant issued | shares                   1,908,144  
Senior Secured Convertible Promissory Notes [Member] | Investors [Member] | Maximum [Member]                      
Debt Instrument [Line Items]                      
Percentage of number of shares issuable                   19.99%  
Percentage of beneficial ownership of shares                   9.99%  
Senior Secured Convertible Promissory Notes [Member] | Investors [Member] | Minimum [Member]                      
Debt Instrument [Line Items]                      
Percentage of beneficial ownership of shares                   4.99%  
Senior Secured Convertible Promissory Notes [Member] | Private Financing [Member]                      
Debt Instrument [Line Items]                      
Debt instrument face amount                   $ 3,000,000  
Tess Inc [Member]                      
Debt Instrument [Line Items]                      
Ownership acquired           9.00%   9.00%      
Tess Inc [Member] | Convertible Note [Member] | Private Placement [Member]                      
Debt Instrument [Line Items]                      
Conversion price | $ / shares                     $ 0.10
Tess Inc [Member] | Convertible Note [Member] | Canada, Dollars [Member] | Private Placement [Member]                      
Debt Instrument [Line Items]                      
Proceeds from convertible debt held in escrow       $ 2,200,000              
Tess Inc [Member] | Promissory Note [Member] | Private Placement [Member]                      
Debt Instrument [Line Items]                      
Notes Payable   $ 1,696,000                  
Cash released   $ 921,000                  
Interest rate   5.00% 5.00%                
Proceeds from convertible debt held in escrow   $ 775,555                  
Tess Inc [Member] | Promissory Note [Member] | Canada, Dollars [Member] | Private Placement [Member]                      
Debt Instrument [Line Items]                      
Proceeds from convertible debt held in escrow     $ 1,000,000                
Tess Inc [Member] | Third party [Member] | Convertible Note [Member] | Canada, Dollars [Member]                      
Debt Instrument [Line Items]                      
Proceeds from convertible debt held in escrow       $ 2,200,000              
BMSS Purchase Agreement [Member]                      
Debt Instrument [Line Items]                      
Debt instrument face amount $ 1,340,000                    
Purchase cost         $ 8,500,000            
Gain on extinguishment of debt 390,000                    
One time settlement amount $ 950,000                    
Settlement with certain creditors [Member]                      
Debt Instrument [Line Items]                      
Gain on extinguishment of debt               $ 808,000      
Value of liabilities settled with certain creditors           $ 3,287,000   3,287,000      
Cash payment made to settle liabilities with certain creditors               2,479,000      
Other income               $ 729,000