XML 30 R18.htm IDEA: XBRL DOCUMENT v3.7.0.1
Summary of Significant Accounting Policies (Tables)
9 Months Ended
Apr. 30, 2017
Accounting Policies [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
A reconciliation of the components of basic and diluted net income (loss) per common share is presented in the tables below:
 
 
 
For the Three Months Ended April 30,
 
 
 
2017
 
 
2016
 
 
 
 
 
 
Weighted
 
 
 
 
 
 
 
 
Weighted
 
 
 
 
 
 
 
 
 
Average
 
 
 
 
 
 
 
 
Average
 
 
 
 
 
 
 
 
 
Common
 
 
 
 
 
 
 
 
Common
 
 
 
 
 
 
Loss
 
 
Shares
 
 
Per Share
 
 
Income
 
 
Shares
 
 
Per Share
 
 
 
$
 
 
Outstanding
 
 
$
 
 
$
 
 
Outstanding
 
 
$
 
Basic:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Income (loss) attributable to common stock
 
 
(3,129,608)
 
 
 
2,014,141
 
 
 
(1.55)
 
 
 
416,128
 
 
 
1,916,554
 
 
 
0.22
 
Effective of Dilutive Securities:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Stock options and warrants
 
 
 
 
 
 
 
 
 
 
 
 
 
 
818,206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Diluted:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Income (loss) attributable to common stock, including assumed conversions
 
 
(3,129,608)
 
 
 
2,014,141
 
 
 
(1.55)
 
 
 
416,128
 
 
 
2,734,760
 
 
 
0.15
 
  
 
 
For the Nine Months Ended April 30,
 
 
 
2017
 
 
2016
 
 
 
 
 
 
Weighted
 
 
 
 
 
 
 
 
Weighted
 
 
 
 
 
 
 
 
 
Average
 
 
 
 
 
 
 
 
Average
 
 
 
 
 
 
 
 
 
Common
 
 
 
 
 
 
 
 
Common
 
 
 
 
 
 
Income
 
 
Shares
 
 
Per Share
 
 
Loss
 
 
Shares
 
 
Per Share
 
 
 
$
 
 
Outstanding
 
 
$
 
 
$
 
 
Outstanding
 
 
$
 
Basic:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Income (loss) attributable to common stock
 
 
6,919,554
 
 
 
2,004,143
 
 
 
3.45
 
 
 
(6,723,849)
 
 
 
1,882,088
 
 
 
(3.57)
 
Effective of Dilutive Securities:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Stock options and warrants
 
 
 
 
 
246,984
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Diluted:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Income (loss) attributable to common stock, including assumed conversions
 
 
6,919,554
 
 
 
2,251,127
 
 
 
3.07
 
 
 
(6,723,849)
 
 
 
1,882,088
 
 
 
(3.57)