XML 52 R42.htm IDEA: XBRL DOCUMENT v3.4.0.3
LONG-TERM DEBT (Details 1) - USD ($)
Apr. 30, 2016
Jul. 31, 2015
Debt Instrument [Line Items]    
Principal amount $ 20,000,000 $ 20,000,000
Unamortized discount (1,086,630) (242,522)
Long-term debt, net of unamortized discount $ 18,913,370 $ 19,757,478