STOCK OPTIONS AND WARRANTS (Details - Unvested Option activity)  | 
3 Months Ended | 
|---|---|
| 
 Jul. 31, 2022  
$ / shares  
shares 
 | |
| Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items] | |
| Weighted average exercise price oustanding, ending | $ 46.83 | 
| Unvested Stock Options [Member] | |
| Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items] | |
| Number of shares unvested outsatnding.beginning | shares | 4,000 | 
| Weighted average exercise price outstading, beginning | $ 0 | 
| Options granted | shares | 1,002 | 
| Granted | $ 2.27 | 
| Options vested | shares | (2,502) | 
| Vested | $ 0 | 
| Options forfeited | shares | 0 | 
| Forfeited | $ 0 | 
| Number of shares unvested outsatnding, ending | shares | 2,500 | 
| Weighted average exercise price oustanding, ending | $ 2.50 | 
| X | ||||||||||
- Definition Weighted Average Grant Date Fair Value per Share vested No definition available. 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Net number of share options (or share units) granted during the period. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  | 
| X | ||||||||||
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Number of non-vested options outstanding. No definition available. 
  | 
| X | ||||||||||
- Definition Number of non-vested options forfeited. No definition available. 
  | 
| X | ||||||||||
- Definition Weighted average grant-date fair value of non-vested options forfeited. No definition available. 
  | 
| X | ||||||||||
- Definition Number of options vested. No definition available. 
  | 
| X | ||||||||||
- Details 
  |