XML 64 R53.htm IDEA: XBRL DOCUMENT v3.4.0.3
Summary of Share-Based Compensation (Benefit) Expense Related to Employee Stock Options, Employee Stock Purchases and Non-Vested Shares (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2016
Apr. 30, 2015
Apr. 30, 2016
Apr. 30, 2015
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Share-based compensation (benefit) expense $ (32) $ 442 $ 926 $ 1,297
Cost of revenue        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Share-based compensation (benefit) expense 21 38 77 171
Selling, general and administrative        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Share-based compensation (benefit) expense $ (53) $ 404 $ 849 $ 1,126