Replace normal space with no breaking space in toCurrency directive to avoid line breaks prices in pdf export

This commit is contained in:
2025-11-04 13:50:09 +01:00
parent 9f8ca7d1d3
commit 3c2d35f458
+1 -1
View File
@@ -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, ',', '.') . '&nbsp;€'; ?>";
});
Blade::directive('toCommaFloat', function ($expression) {