XML 52 R41.htm IDEA: XBRL DOCUMENT v3.23.1
DISCONTINUED OPERATIONS - Schedule of Disposal Groups, Including Discontinued Operations (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2023
Apr. 30, 2022
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]        
Net income (loss) from discontinued operations $ 0 $ 39,895 $ 0 $ (108)
Discontinued Operations, Disposed of by Sale | IWCO Direct Holdings, Inc.        
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]        
Net revenue   18,167   165,542
Cost of revenue   17,894   156,697
Gross profit   273   8,845
Selling, general and administrative   4,517   30,744
Amortization of intangible assets   1,218   9,303
Total operating expenses   5,735   40,047
Operating loss   (5,462)   (31,202)
Gain upon deconsolidation of IWCO Direct   38,043   38,043
Interest expense   (1,848)   (16,111)
Total other income, net   36,195   21,932
Income (loss) from discontinued operations before income taxes   30,733   (9,270)
Income tax benefit   (9,162)   (9,162)
Net income (loss) from discontinued operations   $ 39,895   $ (108)