XML 61 R47.htm IDEA: XBRL DOCUMENT v3.7.0.1
Summary of Significant Accounting Policies (Details Textuals 2) - USD ($)
12 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2015
Property, Plant and Equipment [Line Items]      
Software development costs, gross $ 38,500,000 $ 49,400,000  
Accumulated amortization 25,700,000 20,900,000  
Capitalized Computer Software, Impairments 19,400,000    
Retained Insurance Liabilities [Abstract]      
Amount deductible per claim - insurance policies 250,000    
Amount deductible per claim - medical policy 500,000    
Self insured claims reserve 5,300,000 5,300,000  
Share-based Arrangements with Employees and Nonemployees [Abstract]      
Proceeds from the exercise of stock options 31,188,000 13,240,000 $ 3,634,000
Income tax benefit realized from stock-based payment compensation $ 0 $ 0 $ 2,971,000
Leasehold improvements      
Property, Plant and Equipment [Line Items]      
Description of useful lives between five and ten years    
Internally developed or purchased software      
Property, Plant and Equipment [Line Items]      
Description of useful lives three to seven years    
Transportation and other equipment      
Property, Plant and Equipment [Line Items]      
Description of useful lives three to twenty years    
Office furniture and equipment      
Property, Plant and Equipment [Line Items]      
Description of useful lives three to ten years    
Buildings and leasehold improvements      
Property, Plant and Equipment [Line Items]      
Description of useful lives 5 to 40 years or the lease term, whichever is shorter    
Minimum | Leasehold improvements      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 5 years    
Minimum | Internally developed or purchased software      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 3 years    
Minimum | Transportation and other equipment      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 3 years    
Minimum | Office furniture and equipment      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 3 years    
Minimum | Buildings and leasehold improvements      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 5 years    
Maximum | Leasehold improvements      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 10 years    
Maximum | Internally developed or purchased software      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 7 years    
Maximum | Transportation and other equipment      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 20 years    
Maximum | Office furniture and equipment      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 10 years    
Maximum | Buildings and leasehold improvements      
Property, Plant and Equipment [Line Items]      
Useful life (in years) 40 years