XML 67 R38.htm IDEA: XBRL DOCUMENT v3.2.0.727
LINE OF CREDIT AND LONG-TERM DEBT (Details Narrative)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jun. 29, 2015
USD ($)
Jun. 18, 2015
$ / shares
Mar. 27, 2015
USD ($)
Mar. 26, 2015
USD ($)
$ / shares
shares
Jan. 07, 2015
USD ($)
payment
May. 02, 2014
USD ($)
lease
Jun. 30, 2015
USD ($)
May. 31, 2014
USD ($)
Sep. 30, 2016
USD ($)
Jun. 30, 2016
USD ($)
Mar. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Sep. 30, 2015
USD ($)
Jun. 30, 2015
USD ($)
Mar. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
Sep. 30, 2014
USD ($)
Jun. 30, 2014
USD ($)
Dec. 31, 2016
USD ($)
Jun. 30, 2016
USD ($)
Dec. 31, 2015
USD ($)
Jun. 30, 2015
USD ($)
Dec. 31, 2017
USD ($)
Sep. 30, 2012
USD ($)
Line of Credit Facility [Line Items]                                                
Term loan amount             $ 51,511,072             $ 51,511,072               $ 51,511,072    
Outstanding debt balance             29,167,664             29,167,664               29,167,664    
Repayments of line of credit             15,100,000                                  
Capital lease payments made during period                           2,703,989                    
2014 Goldman Sachs Bank Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Loan principal payments                             $ 300,000 $ 300,000 $ 300,000              
The Second Amendment                                                
Line of Credit Facility [Line Items]                                                
Amendment terms, mandatory amount of cash and available borrowings                           750,000                    
Revolving line of credit | 2012 Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Line of credit, maximum borrowing capacity               $ 20,000,000                               $ 10,000,000
Debt due date               May 02, 2017                                
Line of credit, balance             0             0               0    
Term loan | 2012 Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Term loan amount                                               $ 8,500,000
Term loan | 2014 Goldman Sachs Bank Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Term loan amount           $ 40,000,000                                    
Loan principal payments                                   $ 300,000            
Quarterly principal payment through maturity on May 2, 2019                                           800,000    
Term loan | The Second Amendment                                                
Line of Credit Facility [Line Items]                                                
Loan principal payments                           0 $ 0                  
Prepayment terms, percentage of the extent total consolidated debt exceeds total consolidated EBITDA       100.00%                                        
Annual payments for administration fees       $ 50,000                                        
Initial administration fees for entry into Second Amendment       50,000                                        
Term loan | The Third Amendment                                                
Line of Credit Facility [Line Items]                                                
Prepayment terms, percentage of the extent total consolidated debt exceeds total consolidated EBITDA   100.00%                                            
Term loan | MidCap Loan Agreement                                                
Line of Credit Facility [Line Items]                                                
Effective interest rate     1.75%                                          
Minimum average daily loan balance     $ 3,000,000                                          
Term loan | London Interbank Offered Rate (LIBOR | 2012 Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Effective percentage rate, minimum               1.25%                                
Effective percentage rate, maximum               2.00%                                
Omega Refining                                                
Line of Credit Facility [Line Items]                                                
Number of capital leases assumed | lease           2                                    
Capital lease amount assume as part of acquisition           $ 3,154,860                                    
Minimum | Term loan | The Second Amendment                                                
Line of Credit Facility [Line Items]                                                
Prepayment required by June 30, 2015       9,100,000                                        
Prepayment amount, in addition to required amount       $ 6,000,000                                        
Minimum | Term loan | MidCap Loan Agreement                                                
Line of Credit Facility [Line Items]                                                
Agreed upon amount of loan     $ 7,000,000                                          
Agreed upon amount of loan, percentage of accounts receivable     85.00%                                          
Additional agree upon loan, amount     $ 3,000,000                                          
Minimum | Term loan | London Interbank Offered Rate (LIBOR | 2012 Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Variable rate, basis spread               2.35%                                
Maximum | Term loan                                                
Line of Credit Facility [Line Items]                                                
Default interest rate       2.00%                                        
Maximum | Term loan | 2014 Goldman Sachs Bank Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Debt instrument, stated rate           4.50%                                    
Maximum | Term loan | The Second Amendment                                                
Line of Credit Facility [Line Items]                                                
Interest rate increase       2.00%                                        
Default interest rate       4.00%                                        
Prepayment required by June 30, 2015       $ 15,100,000                                        
Additional borrowing capacity       7,000,000                                        
Maximum | Term loan | MidCap Loan Agreement                                                
Line of Credit Facility [Line Items]                                                
Additional borrowing capacity       $ 6,000,000                                        
Maximum | Term loan | London Interbank Offered Rate (LIBOR | 2012 Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Variable rate, basis spread               3.00%                                
Maximum | Term loan | London Interbank Offered Rate (LIBOR | 2014 Goldman Sachs Bank Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Variable rate, basis spread           1.00%                                    
Maximum | Term loan | ICE Benchmark Administration Limited | 2014 Goldman Sachs Bank Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Basis spread on variable rate, numerator component           1.50%                                    
Maximum | Notes payable | Federal Funds rate | 2014 Goldman Sachs Bank Credit Agreement                                                
Line of Credit Facility [Line Items]                                                
Variable rate, basis spread           0.50%                                    
Forecast | The Second Amendment                                                
Line of Credit Facility [Line Items]                                                
Amendment terms, mandatory amount of cash and available borrowings                                     $ 2,500,000 $ 2,000,000 $ 1,500,000.0   $ 3,000,000  
Forecast | Term loan | The Second Amendment                                                
Line of Credit Facility [Line Items]                                                
EBITDA target                 $ 10,000,000 $ 9,000,000 $ 8,000,000 $ 5,500,000 $ 3,000,000                      
Forecast | Term loan | The Third Amendment                                                
Line of Credit Facility [Line Items]                                                
EBITDA target                 $ 9,500,000 $ 7,250,000 $ 4,250,000 $ 1,500,000 $ 250,000                      
Goldman Sachs, USA | Term loan                                                
Line of Credit Facility [Line Items]                                                
Term loan amount             40,000,000             40,000,000               40,000,000    
Outstanding debt balance             24,000,000             24,000,000               24,000,000    
Pacific Western Bank | Capital Lease                                                
Line of Credit Facility [Line Items]                                                
Term loan amount             520,219             520,219               520,219    
Outstanding debt balance             408,145             408,145               408,145    
Various institutions | Insurance premiums financed                                                
Line of Credit Facility [Line Items]                                                
Term loan amount             1,789,481             1,789,481               1,789,481    
Outstanding debt balance             898,224             898,224               $ 898,224    
Interest rate, minimum                                           4.00%    
Interest rate, maximum                                           4.52%    
Remaining term of debt instrument (less than)                                           1 year    
MidCap Business Credit, LLC | Revolving line of credit                                                
Line of Credit Facility [Line Items]                                                
Term loan amount             7,000,000             7,000,000               $ 7,000,000    
Outstanding debt balance             1,815,795             1,815,795               1,815,795    
Texas Citizens Bank | Term loan                                                
Line of Credit Facility [Line Items]                                                
Term loan amount         $ 2,201,372   2,201,372             2,201,372               2,201,372    
Outstanding debt balance             $ 2,045,500             $ 2,045,500               $ 2,045,500    
E-Source Holdings, LLC | Term loan | Texas Citizens Bank Loan                                                
Line of Credit Facility [Line Items]                                                
Effective interest rate         5.50%                                      
Number of monthly loan payments | payment         59                                      
Interest and principal payment (monthly)         $ 45,147                                      
Raw materials and finished goods | Minimum | Term loan | MidCap Loan Agreement                                                
Line of Credit Facility [Line Items]                                                
Additional agree upon loan amount, percentage of inventory     50.00%                                          
Lender Warrant | Term loan | The Second Amendment                                                
Line of Credit Facility [Line Items]                                                
Number of securities called by each warrant (shares) | shares       1,766,874                                        
Lender Warrant | Term loan | The Third Amendment                                                
Line of Credit Facility [Line Items]                                                
Exercise price of warrants (in USD per share) | $ / shares   $ 2.778   $ 3.395828553                                        
Repayments of line of credit $ 15,100,000                                              
Lender Warrant | Minimum | Term loan | The Second Amendment                                                
Line of Credit Facility [Line Items]                                                
Exercise price of warrants (in USD per share) | $ / shares       $ 3.39583