Closed mohamad-supangat closed 7 months ago
Thanks for your contribution
Since this config value was added to laravel-money version >=5
We can't use it because we support laravel-money from v1-5
And also this change is not backward compatible.
the DEFAULT_CURRENCY
environment value is used in laravel money 1-4
and they changed it to MONEY_DEFAULTS_CURRENCY
.
I've changed the code to use both env variables https://github.com/ariaieboy/filament-currency/pull/19
why use
$currency = env('DEFAULT_CURRENCY', 'USD');
instead of using the default config from laravel money ?