XML 14 R39.htm IDEA: XBRL DOCUMENT v3.2.0.727
Earnings per share - Additional Information (Detail) - shares
3 Months Ended 9 Months Ended
Jan. 31, 2015
Jan. 31, 2014
Jul. 31, 2015
Jul. 31, 2014
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount 820,161 252,182 820,161 228,069