XML 103 R68.htm IDEA: XBRL DOCUMENT v3.8.0.1
CAPITAL STOCK (Details 8) - USD ($)
12 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2015
Share Based Compensation [Line Items]      
Share-based Compensation, Total $ 3,769,370 $ 3,084,163 $ 5,617,748
Stock-Based Compensation for Management [Member]      
Share Based Compensation [Line Items]      
Common stock issued 686,584 262,130 105,998
Stock options issued 473,811 735,991 1,617,937
Share-based Compensation, Total 1,160,395 998,121 1,723,935
Stock-Based Compensation for Consultants [Member]      
Share Based Compensation [Line Items]      
Common stock issued 1,184,660 1,630,635 1,869,074
Stock options issued 469,815 78,014 588,207
Share-based Compensation, Total 1,654,475 1,708,649 2,457,281
Stock-Based Compensation for Employees [Member]      
Share Based Compensation [Line Items]      
Common stock issued 584,837 205,860 111,492
Stock options issued 369,663 171,533 1,325,040
Share-based Compensation, Total $ 954,500 $ 377,393 $ 1,436,532