Conflict with money() from akaunting/laravel-money

I have been using Filament for some time now, all good so far. But Thursday I installed Filament in one of my existing app and all of my BDT currency become USD. Then I found that Filament is using laravel-money package under the hood and I had a custom money function. What is the best way to fix these situation? My suggestion: By default laravel-money will not be installed with Filament. in Doc, add some note that to use the Money formatting functionality, laravel-money package is required.
3 Replies
Saade
Saade16mo ago
How you’re defining your money function?
wyChoong
wyChoong16mo ago
It’s not in v3 anymore And your suggestion is a breaking change for v2 so it won’t be considered
devfaysal
devfaysalOP16mo ago
as a global helper function so that it can be used anywhere easily. The package laravel-money also defined the money function in similar way. I am not suggesting it for V2. If it's not in V3, then it's great. I was not aware that its getting removed in V3. thank you for the info.
Want results from more Discord servers?
Add your server