XML 33 R16.htm IDEA: XBRL DOCUMENT v3.6.0.2
Summary of Significant Accounting Policies (Tables)
6 Months Ended
Jan. 31, 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 January 31,
 
 
 
2017
 
 
2016
 
 
 
 
 
 
Weighted
 
 
 
 
 
 
 
 
Weighted
 
 
 
 
 
 
 
 
 
Average
 
 
 
 
 
 
 
 
Average
 
 
 
 
 
 
 
 
 
Common
 
 
 
 
 
 
 
 
Common
 
 
 
 
 
 
Income
 
 
Shares
 
 
Per Share
 
 
Income
 
 
Shares
 
 
Per Share
 
 
 
$
 
 
Outstanding
 
 
$
 
 
$
 
 
Outstanding
 
 
$
 
Basic:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Income attributable to common stock
 
 
10,649,790
 
 
 
2,006,181
 
 
 
5.31
 
 
 
3,970,040
 
 
 
1,880,279
 
 
 
2.11
 
Effective of Dilutive Securities:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Stock options and warrants
 
 
 
 
 
163,785
 
 
 
 
 
 
 
 
 
724,991
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Diluted:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Income attributable to common stock, including assumed conversions
 
 
10,649,790
 
 
 
2,169,966
 
 
 
4.91
 
 
 
3,970,040
 
 
 
2,605,270
 
 
 
1.52
 
 
 
 
For the Six Months Ended January 31,
 
 
 
2017
 
 
2016
 
 
 
 
 
 
Weighted
 
 
 
 
 
 
 
 
Weighted
 
 
 
 
 
 
 
 
 
Average
 
 
 
 
 
 
 
 
Average
 
 
 
 
 
 
Income
 
 
Common
 
 
 
 
 
Income
 
 
Common
 
 
 
 
 
 
(Loss)
 
 
Shares
 
 
Per Share
 
 
(Loss)
 
 
Shares
 
 
Per Share
 
 
 
$
 
 
Outstanding
 
 
$
 
 
$
 
 
Outstanding
 
 
$
 
Basic:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Income (loss) attributable to common stock
 
 
10,049,162
 
 
 
1,999,307
 
 
 
5.03
 
 
 
(7,139,977)
 
 
 
1,865,230
 
 
 
(3.83)
 
Effective of Dilutive Securities:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Stock options and warrants
 
 
 
 
 
211,683
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Diluted:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Income (loss) attributable to common stock, including assumed conversions
 
 
10,049,162
 
 
 
2,210,990
 
 
 
4.55
 
 
 
(7,139,977)
 
 
 
1,865,230
 
 
 
(3.83)