XML 59 R48.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings (Loss) Per Share (Details) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Weighted-average number of shares used in the calculation of basic and diluted earnings per share        
Basic weighted-average number of shares 24,675 23,054 24,649 22,845
Effect of dilutive securities:        
Stock options 49
Non-vested restricted Class B common stock 95
Diluted weighted-average number of shares 24,675 23,054 24,649 22,989