Merge branch 'develop' into trunk

This commit is contained in:
Noah Lancien 2026-02-05 17:17:33 +01:00
commit 4f5be11730

View file

@ -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";