XML 17 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2018
Jan. 31, 2017
Jan. 31, 2018
Jan. 31, 2017
Statement Of Income And Comprehensive Income [Abstract]        
Net income $ 25,337 $ 6,486 $ 31,187 $ 12,227
Other comprehensive income        
Foreign currency translation gain (loss) 5,112 (360) 4,490 (2,671)
Total comprehensive income $ 30,449 $ 6,126 $ 35,677 $ 9,556