XML 49 R38.htm IDEA: XBRL DOCUMENT v3.22.1
BASIS OF PRESENTATION (Details) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Error Corrections and Prior Period Adjustments Restatement [Line Items]    
Non-cash lease expense $ (7,083) $ (7,505)
Other assets and liabilities $ 5,489 (17,545)
Revision of prior period, reclassification, adjustment | Reclassification adjustment to confirm with current reporting    
Error Corrections and Prior Period Adjustments Restatement [Line Items]    
Non-cash lease expense   7,500
Other assets and liabilities   $ 7,500