From e7db2d4523f9c78682e41f98684b7b0bcf129ec7 Mon Sep 17 00:00:00 2001 From: Alexis Gousseau Date: Thu, 5 Feb 2026 16:45:01 +0100 Subject: [PATCH] fix: :bug: set blade directives function in public #88 --- app/Helpers/BladeDirectivesHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Helpers/BladeDirectivesHelper.php b/app/Helpers/BladeDirectivesHelper.php index ba14c2b..8f4d118 100644 --- a/app/Helpers/BladeDirectivesHelper.php +++ b/app/Helpers/BladeDirectivesHelper.php @@ -15,7 +15,7 @@ class BladeDirectivesHelper * @param mixed $value * @return string */ - private static function formatPriceValue($value): string + public static function formatPriceValue($value): string { if (is_float($value)) { return sprintf('%s €', number_format($value, 2, ',', ' ')); @@ -43,7 +43,7 @@ class BladeDirectivesHelper * * @return bool */ - private static function shouldShowPrices(): bool + public static function shouldShowPrices(): bool { return (config('bosettings.show_prices_authenticated') === "authenticated" && Auth::guard('customer')->check()) || config('bosettings.show_prices_guest') == "guest";