DISCONTINUED OPERATIONS - Schedule of financial results of discontinued operations (Details) - USD ($) |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
|
| Discontinued Operations and Disposal Groups [Abstract] | ||||
| Revenues | $ 0 | $ 0 | $ 0 | $ 1,233,567 |
| Cost of sales | 0 | 0 | 0 | 970,210 |
| Gross profit | 0 | 0 | 0 | 263,357 |
| Operating expenses | ||||
| Selling, general and administrative expenses | 0 | 0 | 0 | 248,052 |
| Depreciation and amortization expense | 0 | 0 | 0 | 20,139 |
| Total operating expenses | 0 | 0 | 0 | 268,191 |
| OPERATING LOSS | 0 | 0 | 0 | (4,834) |
| Other income (expense) | ||||
| Financing expense | 0 | 0 | 0 | (18,430) |
| Gain on disposal of subsidiaries | 0 | 0 | 0 | 1,655,781 |
| Total other income (expense) | 0 | 0 | 0 | 1,637,351 |
| Net loss from discontinued operations before taxes | 0 | 0 | 0 | 1,632,517 |
| Provision for income taxes | 0 | 0 | 0 | 0 |
| Total net (loss) income from discontinued operations, after taxes | $ 0 | $ 0 | $ 0 | $ 1,632,517 |
| X | ||||||||||
- Definition Represents the amount of disposal group including discontinued operation financing expense. No definition available.
|
| X | ||||||||||
- Definition Amount of other income (expense) attributable to disposal group, including, but not limited to, discontinued operation. No definition available.
|
| X | ||||||||||
- Definition Amount after tax of gain (loss) not previously recognized resulting from the disposal of a discontinued operation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before tax of income (loss) from a discontinued operation. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of tax expense (benefit) related to a discontinued operation. Includes, but is not limited to, tax expense (benefit) related to income (loss) from operations during the phase-out period, tax expense (benefit) related to gain (loss) on disposal, tax expense (benefit) related to gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and tax expense (benefit) related to adjustments of a prior period gain (loss) on disposal. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of costs of goods sold attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of depreciation and amortization expense attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of general and administrative expense attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of gross profit attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of operating expense attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of operating income (loss) attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount after tax of income (loss) from a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- References No definition available.
|