XML 82 R50.htm IDEA: XBRL DOCUMENT v3.5.0.2
LONG-TERM DEBT (Details Textual) - USD ($)
1 Months Ended 3 Months Ended 12 Months Ended
Mar. 31, 2014
Jul. 31, 2016
Apr. 30, 2016
Jul. 31, 2016
Jul. 31, 2015
Jul. 31, 2014
Jul. 30, 2013
Feb. 09, 2016
Debt Instrument [Line Items]                
Amortization of Debt Discount (Premium)       $ 1,245,615 $ 1,353,773 $ 1,498,858    
Stock Issued During Period, Value, Other       1,700,000   $ 676,058    
Long-term Debt, Gross   $ 20,000,000   $ 20,000,000 $ 20,000,000      
Rate of Second Extension Anniversary Fee Payable In Second Year   4.50%   4.50%        
Rate of Second Extension Anniversary Fee Payable In Next Twelve Months   5.50%            
Percentage of Discount on Volume Weighted Average Price     10.00% 10.00%        
Rate of Second Extension Anniversary Fee Payable In Third Year   4.50%            
Working Capital Ratio       1:1        
Class of Warrant or Right, Number of Securities Called by Warrants or Rights   2,600,000   2,600,000        
Stock Purchase Warrants Extension Terms       one and a half years from July 30, 2018 to January 30, 2020, subject to accelerated exercise whereby, upon notification by the Company, the warrant holders will have 30 days to exercise their warrants should the ten trading-day volume-weighted average price of the Companys shares equal or exceed $2.70;        
Stock Issued, Value, Issued for Second Extension Fees     $ 800,000          
Stock Issued, Shares, Issued for Second Extension Fees     959,613          
Second Extension Fees, Percentage   4.00%   4.00%        
Adjustments to Additional Paid in Capital, Warrant Issued   $ 104,915   $ 104,915        
Proceeds from Lines of Credit $ 10,000,000           $ 10,000,000  
After Amendment [Member]                
Debt Instrument [Line Items]                
Stock Purchase Warrants Expiration Date       Jan. 30, 2020        
Class of Warrant or Right, Exercise Price of Warrants or Rights   $ 1.35   $ 1.35       $ 1.35
Before Amendment [Member]                
Debt Instrument [Line Items]                
Stock Purchase Warrants Expiration Date       Jul. 30, 2018        
Class of Warrant or Right, Exercise Price of Warrants or Rights   $ 2.50   $ 2.50       $ 2.50
Non-Revolving Credit Facility [Member]                
Debt Instrument [Line Items]                
Debt Instrument, Interest Rate During Period   8.00%            
Restated Credit Agreement [Member]                
Debt Instrument [Line Items]                
Debt Instrument, Frequency of Periodic Payment       monthly        
Debt Instrument Amended Terms       maturity date from July 31, 2017 to January 1, 2020;        
Secured Debt [Member]                
Debt Instrument [Line Items]                
Long-term Debt, Gross   $ 20,000,000   $ 20,000,000       $ 20,000,000
Debt Instrument, Interest Rate, Effective Percentage   14.28%   14.28%        
Anniversary Fees Payable In Next Twelve Month   $ 1,100,000   $ 1,100,000        
Anniversary Fees Payable In Second Year   900,000   900,000        
Anniversary Fees Payable In Third Year   $ 900,000   $ 900,000        
Restricted Stock [Member]                
Debt Instrument [Line Items]                
Stock Issued During Period, Shares, Other       752,320        
Stock Issued During Period, Value, Other       $ 900,000