XML 83 R60.htm IDEA: XBRL DOCUMENT v3.20.1
EARNINGS (LOSS) PER SHARE - Reconciliation of Earnings (Loss) Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2020
Jan. 31, 2019
Jan. 31, 2020
Jan. 31, 2019
Earnings Per Share [Abstract]        
Net income (loss) $ (3,557) $ (11,753) $ 1,235 $ (19,118)
Less: Preferred dividends on redeemable preferred stock (531) (536) (1,067) (1,073)
Net income (loss) attributable to common stockholders $ (4,088) $ (12,289) $ 168 $ (20,191)
Weighted average common shares outstanding (in shares) 61,538 60,935 61,469 60,974
Weighted average common equivalent shares arising from restricted stock 0 0 13 0
Weighted average number of common and potential common shares (in shares) $ 61,538,000 $ 60,935,000 $ 61,482,000 $ 60,974,000
Basic net earnings (loss) per share attributable to common stockholders (0.07) (0.20) 0.00 (0.33)
Diluted net earnings (loss) per share attributable to common stockholders $ (0.07) $ (0.20) $ 0.00 $ (0.33)