XML 101 R86.htm IDEA: XBRL DOCUMENT v3.21.2
LEASES - Schedule of Maturities of Company's Operating and Finance Leases (Details) - USD ($)
$ in Thousands
Jul. 31, 2021
Jul. 31, 2020
Leases [Abstract]    
For the fiscal year ending July 31, 2022 $ 13,923  
For the fiscal year ending July 31, 2023 10,576  
For the fiscal year ending July 31, 2024 7,763  
For the fiscal year ending July 31, 2025 5,188  
For the fiscal year ending July 31, 2026 3,530  
For the fiscal year ending July 31, 2027 and thereafter 18,267  
Total future lease payments 59,247  
Less: amount representing interest (16,380)  
Total operating lease liabilities 42,867 $ 33,799
For the fiscal year ending July 31, 2022 1,555  
For the fiscal year ending July 31, 2023 1,578  
For the fiscal year ending July 31, 2024 1,059  
For the fiscal year ending July 31, 2025 1,083  
For the fiscal year ending July 31, 2026 1,107  
For the fiscal year ending July 31, 2027 and thereafter 954  
Total future lease payments 7,336  
Less: amount representing interest (1,561)  
Total finance lease liabilities $ 5,775 $ 5,248