From 4a5fab6388b72473b808184f2cc86cb012dff955 Mon Sep 17 00:00:00 2001 From: IceToast Date: Sun, 6 Feb 2022 22:36:01 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=9A=91=EF=B8=8F=20Show=20Store=20w?= =?UTF-8?q?hen=20only=20stripe=20is=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/layouts/main.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/layouts/main.blade.php b/resources/views/layouts/main.blade.php index 93d463123..a0542815c 100644 --- a/resources/views/layouts/main.blade.php +++ b/resources/views/layouts/main.blade.php @@ -8,7 +8,7 @@ {{ config('app.name', 'Laravel') }} @@ -180,7 +180,7 @@ class="dropdown-item dropdown-footer">{{ __('See all Notifications') }} {{ config('app.name', 'Laravel') }} Logo {{ config('app.name', 'Laravel') }} @@ -212,7 +212,7 @@ class="dropdown-item dropdown-footer">{{ __('See all Notifications') }} - @if ((config('SETTINGS::PAYMENTS:PAYPAL:SECRET') && config('SETTINGS::PAYMENTS:PAYPAL:CLIENT_ID')) || env('APP_ENV', 'local') == 'local') + @if (env('APP_ENV') == 'local' || (config('SETTINGS::PAYMENTS:PAYPAL:SECRET') && config('SETTINGS::PAYMENTS:PAYPAL:CLIENT_ID')) || (config('SETTINGS::PAYMENTS:STRIPE:SECRET') && config('SETTINGS::PAYMENTS:STRIPE:ENDPOINT_SECRET') && config('SETTINGS::PAYMENTS:STRIPE:METHODS')))