XML 45 R34.htm IDEA: XBRL DOCUMENT v3.19.1
Earnings (Loss) Per Share (Tables)
9 Months Ended
Apr. 30, 2019
Earnings (Loss) Per Share [Abstract]  
Schedule of weighted-average number of shares used in the calculation of basic and diluted earnings (loss) per share
  Three Months Ended
April 30,
  Nine Months Ended
April 30,
 
  2019  2018  2019  2018 
  (in thousands) 
Basic weighted-average number of shares  26,263   24,675   24,970   24,649 
Effect of dilutive securities:                
Stock options            
Non-vested restricted Class B common stock        2    
Diluted weighted-average number of shares  26,263   24,675   24,972   24,649 
Summary of shares excluded from the diluted earnings per share
  Three Months Ended
April 30,
  Nine Months Ended
April 30,
 
  2019  2018  2019  2018 
  (in thousands) 
Stock options  1,223   1,253   1,236   1,253 
Non-vested restricted Class B common stock     191      191 
Shares excluded from the calculation of diluted earnings per share  1,223   1,444   1,236   1,444