Closed mubashar-mtp closed 3 months ago
@mubashar-mtp library supports only ISO 4217 standard. CNH is not in this standard. But you can always create custom instance of this currency: https://github.com/brick/money?tab=readme-ov-file#custom-currencies
Exactly. Our currency list comes from this list of ISO 4217 currencies, and as you can see, CNH
is not in it. See @Wojtazzzz's suggestion to use it with brick/money.
exception: "Brick\Money\Exception\UnknownCurrencyException" file: "/vendor/brick/money/src/Exception/UnknownCurrencyException.php" line: 14 message: "Unknown currency code: CNH"