1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Add products from the group on bottom of page

This commit is contained in:
Benjamin Beganović 2021-07-08 13:00:38 +02:00
parent fa7139dfd0
commit 3fb45aae20
2 changed files with 13 additions and 0 deletions

View File

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

View File

@ -81,6 +81,18 @@
<span>{{ ctrans('texts.client_portal') }}</span>
</a>
@endif
@if($subscription->service()->getPlans()->count() - 1 > 1)
<div class="flex flex-col mt-10">
<p class="mb-4 uppercase leading-4 tracking-wide inline-flex items-center rounded-full text-xs font-medium">
{{ ctrans('texts.you_might_be_interested_in_following') }}:
</p>
@foreach($subscription->service()->getPlans() as $_subscription)
<a class="block hover:underline" target="_blank" href="{{ route('client.subscription.purchase', $_subscription->hashed_id) }}">{{ $_subscription->name }}</a>
@endforeach
</div>
@endif
</div>
</div>