From f8403addd685bc3c3999833fce0f8e332644535b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 15 Feb 2021 13:21:52 +0100 Subject: [PATCH] fix endless for -1 --- .../ninja2020/recurring_invoices/cancellation/index.blade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/portal/ninja2020/recurring_invoices/cancellation/index.blade.php b/resources/views/portal/ninja2020/recurring_invoices/cancellation/index.blade.php index 7db25bd78a..7cf3774479 100644 --- a/resources/views/portal/ninja2020/recurring_invoices/cancellation/index.blade.php +++ b/resources/views/portal/ninja2020/recurring_invoices/cancellation/index.blade.php @@ -42,7 +42,8 @@ {{ ctrans('texts.cycles_remaining') }}
- {{ $invoice->remaining_cycles }} + {{ $invoice->remaining_cycles == '-1' ? ctrans('texts.endless') : $invoice->remaining_cycles }} + @if($invoice->remaining_cycles == '-1') ∞ @endif