Quarterly report [Sections 13 or 15(d)]

EARNINGS PER SHARE (Details - Per share calculation)

v3.25.1
EARNINGS PER SHARE (Details - Per share calculation) - USD ($)
3 Months Ended 9 Months Ended
Jan. 31, 2025
Oct. 31, 2024
Jul. 31, 2024
Jan. 31, 2024
Oct. 31, 2023
Jul. 31, 2023
Jan. 31, 2025
Jan. 31, 2024
Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items]                
Net income (loss) $ (3,045,328) $ (1,469,560) $ 23,421,355 $ (619,537) $ 2,789,896 $ (3,183,297) $ 18,906,468 $ (1,012,938)
Less: Accretion of discounts to redemption of Series B convertible preferred stock 0     (4,219,069)     (3,193,404) (11,995,681)
Less: Series B convertible preferred stock dividends 0     (781,507)     $ (1,129,759) $ (1,688,242)
Net loss attributable to common stockholders $ (3,045,328)     $ (5,620,113)        
Weighted average shares outstanding used in basic earnings per share 6,960,014     8,606,957     7,487,813 9,991,326
Weighted average shares outstanding used in diluted earnings per share 6,960,014     8,606,957     7,487,813 9,991,326
Net income (loss) per share basic $ (0.44)     $ (0.65)     $ 1.67 $ (1.47)
Net income (loss) per share diluted $ (0.44)     $ (0.65)     $ 1.67 $ (1.47)
Undistributed income (loss) available to common stockholders             $ 12,515,572 $ (14,696,861)
Series B Preferred Stock [Member]                
Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items]                
Less: Accretion of discounts to redemption of Series B convertible preferred stock $ 0     $ (4,219,069)     (3,193,404) (11,995,681)
Less: Series B convertible preferred stock dividends 0     (781,507)     (1,129,759) (1,688,242)
Less: Allocation of undistributed income to Series B convertible preferred stock $ 0     $ 0     $ (2,067,733) $ 0