From e04ed7c2bf95865ca7d774fdd642175a8e851d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 22 Mar 2021 14:01:36 +0100 Subject: [PATCH] Show per year per month as recurring_invoice frequency is defined using RecurringInvoice method helper --- .../components/livewire/billing-portal-purchase.blade.php | 5 +++++ 1 file changed, 5 insertions(+) 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 d5eb2719ca..9d82874eb7 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 @@ -14,8 +14,13 @@

{{ App\Utils\Number::formatMoney($price, $billing_subscription->company) }}

+ + @if($billing_subscription->is_recurring) + / {{ \App\Models\RecurringInvoice::frequencyForKey($billing_subscription->frequency_id) }} + @endif
+ @if($billing_subscription->per_seat_enabled && $billing_subscription->max_seats_limit > 1)
{{ ctrans('texts.qty') }}