XML 59 R48.htm IDEA: XBRL DOCUMENT v3.19.1
GOODWILL AND INTANGIBLE ASSETS - Additional Information (Detail) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2019
Jul. 31, 2018
Goodwill [Line Items]    
Goodwill $ 257,128 $ 254,352
Adjustments from re-evaluation of equipment 2,800  
Trademarks and Trade Names    
Goodwill [Line Items]    
Intangible assets $ 11,100  
Estimated useful life 3 years  
Customer Relationships    
Goodwill [Line Items]    
Intangible assets $ 158,700  
Estimated useful life 15 years  
Direct Marketing    
Goodwill [Line Items]    
Goodwill $ 257,100