XML 51 R39.htm IDEA: XBRL DOCUMENT v3.22.1
Leases - Supplemental Cash Flow Disclosures (Details) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Leases [Abstract]    
Operating cash flows related to operating leases $ 19,934 $ 21,855
Operating cash flows related to finance leases 4 32
Financing cash flows related to finance leases 472 962
Right-of-use assets obtained in exchange for new operating lease liabilities 14,461 37,120
Right-of-use assets obtained in exchange for new finance lease liabilities $ 0 $ 6,251