DISCONTINUED OPERATIONS - Schedule of major components of the financial results (Details) - USD ($) |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
Apr. 30, 2025 |
Apr. 30, 2024 |
Apr. 30, 2025 |
Apr. 30, 2024 |
|
Discontinued Operations and Disposal Groups [Abstract] | ||||
Revenues | $ 0 | $ 769,992 | $ 1,233,567 | $ 2,506,546 |
Cost of sales | 0 | 593,468 | 970,210 | 1,819,354 |
Gross profit | 0 | 176,524 | 263,357 | 687,192 |
Operating expenses | ||||
Selling, general and administrative expenses | 0 | 194,984 | 248,052 | 607,734 |
Depreciation and amortization expense | 0 | 13,471 | 20,139 | 43,441 |
Total operating expenses | 208,455 | 268,191 | 651,175 | |
OPERATING INCOME (LOSS) | 0 | (31,931) | (4,834) | 36,017 |
Other income (expense) | ||||
Other income | 0 | 9,621 | 0 | 178,424 |
Financing expense | 0 | (8,995) | (18,430) | (23,430) |
Other expenses | 0 | (800) | 0 | (13,915) |
Gain on disposal of subsidiaries | 0 | 0 | 1,655,781 | 0 |
Total other income (expense) | 0 | (174) | 1,637,351 | 141,079 |
Net income from discontinued operations before taxes | 0 | (32,105) | 1,632,517 | 177,096 |
Provision for income taxes | 0 | 0 | 0 | 0 |
Total net (loss) income from discontinued operations, after taxes | $ 0 | $ (32,105) | $ 1,632,517 | $ 177,096 |
X | ||||||||||
- Definition Represents the amount of disposal group including discontinued operation financing expense. No definition available.
|
X | ||||||||||
- Definition Amount before tax of gain (loss) recognized on the sale or disposal of subsidiary. 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 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/2009/role/commonPracticeRef
|
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/disclosureRef
|
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/disclosureRef
|
X | ||||||||||
- Definition Amount of depreciation and amortization expense attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of general and administrative expense attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of gross profit attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount of operating expense attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of operating income (loss) attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of other expense attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of other income attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
X | ||||||||||
- Definition Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
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/disclosureRef
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- References No definition available.
|