✨ Ajoute le parser Ouest-France #13
@ -24,8 +24,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
Str::macro('currency', static function ($price)
|
||||
{
|
||||
Str::macro('currency', static function ($price) {
|
||||
return sprintf('%s €', number_format($price, 0, ',', ' '));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user