XML 100 R86.htm IDEA: XBRL DOCUMENT v3.22.2.2
LEASES - Schedule of Maturities of Company's Operating and Finance Leases (Details) - USD ($)
$ in Thousands
Jul. 31, 2022
Jul. 31, 2021
Operating Leases    
For the fiscal year ending July 31, 2023 $ 14,463  
For the fiscal year ending July 31, 2024 11,142  
For the fiscal year ending July 31, 2025 7,900  
For the fiscal year ending July 31, 2026 5,474  
For the fiscal year ending July 31, 2027 3,980  
For the fiscal year ending July 31, 2028 and thereafter 18,408  
Total future lease payments 61,367  
Less: amount representing interest (17,131)  
Total operating lease liabilities 44,236 $ 42,867
Finance Leases    
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 896  
For the fiscal year ending July 31, 2028 and thereafter 58  
Total future lease payments 5,781  
Less: amount representing interest (1,090)  
Total finance lease liabilities $ 4,691 $ 5,775