Replace normal space with no breaking space in toCurrency directive to avoid line breaks prices in pdf export
This commit is contained in:
@@ -30,7 +30,7 @@ public function boot(): void
|
||||
]);
|
||||
|
||||
Blade::directive('toCurrency', function ($expression) {
|
||||
return "<?php echo number_format($expression, 2, ',', '.') . ' €'; ?>";
|
||||
return "<?php echo number_format($expression, 2, ',', '.') . ' €'; ?>";
|
||||
});
|
||||
|
||||
Blade::directive('toCommaFloat', function ($expression) {
|
||||
|
||||
Reference in New Issue
Block a user