XML 34 R23.htm IDEA: XBRL DOCUMENT v3.7.0.1
Earnings (Loss) Per Share (Tables)
9 Months Ended
Apr. 30, 2017
Earnings (Loss) Per Share [Abstract]  
Summary of shares excluded from diluted earnings per share computations
  Three Months Ended
April 30,
  Nine Months Ended
April 30,
 
  2017  2016  2017  2016 
  (in thousands) 
Stock options  45   3   22   4 
Warrants  61   -   43   - 
Non-vested restricted Class B common stock  265   179   225   175 
                 
Shares excluded from the calculation of diluted (loss) earnings per share  371   182   290   179