XML 72 R62.htm IDEA: XBRL DOCUMENT v3.23.1
Leases - Supplemental Cash Flow and Other Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2023
Apr. 30, 2022
Leases [Abstract]        
Operating cash flows from operating leases $ 11,798 $ 11,353 $ 35,561 $ 36,910
Financing cash flows from finance leases 1,367 303 3,711 626
Lease liabilities arising from obtaining right-of-use assets from operating leases 0 1,067 5,971 5,017
Lease liabilities arising from obtaining right-of-use assets from finance leases $ 5,468 $ 656 $ 7,011 $ 4,529