From f525319202cab95c352cffbe6adf5ae010a82d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Wed, 21 Jul 2021 15:09:36 +0200 Subject: [PATCH] Hide cancellation button from recurring invoices --- .../recurring_invoices/show.blade.php | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/resources/views/portal/ninja2020/recurring_invoices/show.blade.php b/resources/views/portal/ninja2020/recurring_invoices/show.blade.php index 15d5725e70d4..37c12a237047 100644 --- a/resources/views/portal/ninja2020/recurring_invoices/show.blade.php +++ b/resources/views/portal/ninja2020/recurring_invoices/show.blade.php @@ -77,30 +77,32 @@ @endif - @if(is_null($invoice->subscription_id) || optional($invoice->subscription)->allow_cancellation) -
-
-
-
-

- {{ ctrans('texts.cancellation') }} -

-
-

- {{ ctrans('texts.about_cancellation') }} -

-
+ {{-- @if(is_null($invoice->subscription_id) || optional($invoice->subscription)->allow_cancellation) --}} + {{-- INV2-591 --}} + @if(false) +