XML 41 R5.htm IDEA: XBRL DOCUMENT v3.20.1
CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (UNAUDITED) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2020
Apr. 30, 2019
Apr. 30, 2020
Apr. 30, 2019
Statement of Comprehensive Income [Abstract]        
Net (loss) income $ (9,860) $ 22,265 $ (25,195) $ 7,876
Other comprehensive gain (loss):        
Foreign currency translation adjustments 284 206 (70) 278
Comprehensive (loss) income $ (9,576) $ 22,471 $ (25,265) $ 8,154