Lease - (Details - Supplemental cash flow information) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Apr. 30, 2023 |
Apr. 30, 2022 |
Apr. 30, 2021 |
|
| Cash paid for amounts included in the measurement of lease liabilities: | |||
| Operating cash flows from operating leases | $ 4,069 | $ 2,376 | $ 2,972 |
| Operating cash flows from finance leases | 125 | 47 | 5 |
| Financing cash flows from finance leases | 505 | 162 | 93 |
| Non-cash transactions: | |||
| Right-of-use assets obtained upon operating lease modifications and reassessments, net | 9,267 | 4,554 | 0 |
| Right-of-use assets obtained in exchange for operating lease obligations | 0 | 16,093 | 0 |
| Decapitalization of right-of-use assets upon impairment | 89 | 0 | 0 |
| Property and equipment obtained in exchange for finance lease obligation | $ 0 | $ 2,760 | $ 0 |