Quarterly report pursuant to Section 13 or 15(d)

NOTES PAYABLE - Schedule of Debt (Details)

v3.22.2.2
NOTES PAYABLE - Schedule of Debt (Details) - USD ($)
$ / shares in Units, $ in Thousands
9 Months Ended
Sep. 30, 2022
Dec. 31, 2021
Nov. 22, 2021
Jan. 22, 2021
May 04, 2020
Debt Instrument [Line Items]          
Notes Payable - Promissory Notes $ 35,313 $ 57,522      
Vehicle Loans 99 204      
Less: Short-Term Debt (26,454) (45,749)      
Less:  Debt Discount (994) (1,971)      
Net Long-Term Debt $ 7,964 10,006      
Promissory note dated January 18, 2018, issued for the purchase of real property. The promissory note was collateralized by the land and building purchased and matured January 18, 2022. The promissory note bears interest at 12.0% for year one and escalates 0.5% per year thereafter. The full principal balance and accrued interest are due at maturity. In the event of default, the note is convertible at the holder's option.          
Debt Instrument [Line Items]          
Interest rate 12.00%        
Interest rate increase 0.50%        
Notes Payable - Promissory Notes $ 0 6,500      
Promissory note dated May 4, 2020, issued to Harvest Small Business Finance, LLC, an unaffiliated third party.   Loan was part of the Paycheck Protection Program ("PPP Loan") offered by the U.S. Small Business Administration.   The interest rate on the note was 1.0%.   The note required interest and principal payments seven months from July 2020.   The note matures in February 2025.          
Debt Instrument [Line Items]          
Notes Payable - Promissory Notes $ 13 562      
Net Long-Term Debt         $ 560
Unsecured promissory note dated January 22, 2021, issued to Michael Nahass (a related party), which matured January 25, 2022, and bore interest at a rate of 3% per annum.          
Debt Instrument [Line Items]          
Interest rate 3.00%     3.00%  
Notes Payable - Promissory Notes $ 0 1,050      
Convertible promissory note dated January 25, 2021, issued to accredited investors, which matured July 22, 2022 and bears interest at a rate of 8% per annum. The conversion price is $0.175 per share.          
Debt Instrument [Line Items]          
Interest rate 8.00%        
Conversion price (in dollars per share) $ 0.175        
Notes Payable - Promissory Notes $ 3,450 3,500      
Promissory note dated July 27, 2021, issued to Arthur Chan which matures July 26, 2024, and bears interest at a rate of 12% per annum.          
Debt Instrument [Line Items]          
Interest rate 12.00%        
Notes Payable - Promissory Notes $ 2,500 2,500      
Senior Secured Promissory Note dated November 22, 2021 issued to Dominion Capital LLC, which matured on February 22, 2022 and bore interest at a rate of 12% per annum.          
Debt Instrument [Line Items]          
Interest rate 12.00%        
Notes Payable - Promissory Notes $ 0 2,500      
Net Long-Term Debt     $ 2,500    
Unsecured promissory note without interest from a related party. The loan is paid in 20 equal installments and matured on August 1, 2022.          
Debt Instrument [Line Items]          
Notes Payable - Promissory Notes 60 90      
Promissory note dated June 1, 2020, issued as part of the PPP Loan offered by the U.S. Small Business Administration. The interest rate on the note is 1.0%. The note matured on June 1, 2022.          
Debt Instrument [Line Items]          
Notes Payable - Promissory Notes $ 322 297      
Line of credit agreement entered on March 31, 2021, which matured on March 31, 2022 and bore interest of 2.9% per 30 days.          
Debt Instrument [Line Items]          
Interest rate 2.90%        
Notes Payable - Promissory Notes $ 0 4,500      
Promissory note dated October 1, 2021, issued to Sterling Harlan as part of the SilverStreak Solutions acquisition. The interest rate on the note was 3.0%. The note matured on April 1, 2022.          
Debt Instrument [Line Items]          
Interest rate 3.00%        
Notes Payable - Promissory Notes $ 2,000 2,000      
Promissory note dated October 1, 2021, issued to Sterling Harlan as part of the SilverStreak Solutions acquisition. The interest rate on the note is 3.0%. The note matures on October 1, 2022.          
Debt Instrument [Line Items]          
Interest rate 3.00%        
Notes Payable - Promissory Notes $ 2,500 2,500      
Secured promissory note dated November 22, 2021 issued to People's California, LLC, which matures on November 22, 2023 and bears interest at a rate of 8.0% per annum. Payments due include $2.00 million plus accrued interest for the first twelve months followed by payments of $1.00 million plus accrued interest until maturity.          
Debt Instrument [Line Items]          
Interest rate 8.00%        
Notes Payable - Promissory Notes $ 21,569 28,569      
Payments due, next fiscal year 2,000        
Payments due after next fiscal year $ 1,000        
Promissory note dated May 1, 2019, assumed by the Company on July 1, 2021 in connection with the purchase of real property, from a related party. The note matures on May 15, 2039 and bears interest at a rate of 9.89% per year.          
Debt Instrument [Line Items]          
Interest rate 9.89%        
Notes Payable - Promissory Notes $ 2,899 $ 2,954