From 3fb45aae209289fcc1a5f2d7803b04310d76954d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Thu, 8 Jul 2021 13:00:38 +0200 Subject: [PATCH] Add products from the group on bottom of page --- resources/lang/en/texts.php | 1 + .../livewire/billing-portal-purchase.blade.php | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index bc9f31b48324..f66c381439f3 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -4277,6 +4277,7 @@ $LANG = array( 'email_sent' => 'E-mail sent, please check your inbox.', 'one_time_purchases' => 'One time purchases', 'recurring_purchases' => 'Recurring purchases', + 'you_might_be_interested_in_following' => 'You might be interested in following', ); return $LANG; diff --git a/resources/views/portal/ninja2020/components/livewire/billing-portal-purchase.blade.php b/resources/views/portal/ninja2020/components/livewire/billing-portal-purchase.blade.php index db6ad3ab817a..0c516c7aa0b8 100644 --- a/resources/views/portal/ninja2020/components/livewire/billing-portal-purchase.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/billing-portal-purchase.blade.php @@ -81,6 +81,18 @@ {{ ctrans('texts.client_portal') }} @endif + + @if($subscription->service()->getPlans()->count() - 1 > 1) +
+

+ {{ ctrans('texts.you_might_be_interested_in_following') }}: +

+ + @foreach($subscription->service()->getPlans() as $_subscription) + {{ $_subscription->name }} + @endforeach +
+ @endif