XML 49 R58.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
EARNINGS (LOSS) PER SHARE - Reconciliation of Earnings (Loss) Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended
Oct. 31, 2019
Oct. 31, 2018
Earnings Per Share [Abstract]    
Net income (loss) $ 4,792 $ (7,365)
Less: Preferred dividends on redeemable preferred stock (536) (536)
Net income (loss) attributable to common stockholders 4,256 (7,901)
Dilutive Securities, Effect on Basic Earnings Per Share, Dilutive Convertible Securities 592 0
Dilutive Securities, Effect on Basic Earnings Per Share, Options and Restrictive Stock Units 536 0
Net Income (Loss) Attributable to Parent, Diluted $ 5,384 $ (7,901)
Weighted average common shares outstanding (in shares) 61,401 60,712
Weighted average common equivalent shares arising from dilutive stock options, restricted stock, convertible notes and convertible preferred stock (in shares) 24,605 0
Weighted average number of common and potential common shares (in shares) $ 86,006,000 $ 60,712,000
Basic net earnings (loss) per share attributable to common stockholders 0.07 (0.13)
Diluted net earnings (loss) per share attributable to common stockholders $ 0.06 $ (0.13)