diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index ffc0229a03..762ca47142 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -3981,7 +3981,7 @@ $LANG = array( 'list_of_recurring_invoices' => 'List of recurring invoices', 'details_of_recurring_invoice' => 'Here are some details about recurring invoice', 'cancellation' => 'Cancellation', - 'about_cancellation' => 'In case you want to stop the recurring invoice, please click the request the cancellation.', + 'about_cancellation' => 'In case you want to stop the recurring invoice, please click to request the cancellation.', 'cancellation_warning' => 'Warning! You are requesting a cancellation of this service. Your service may be cancelled with no further notification to you.', 'cancellation_pending' => 'Cancellation pending, we\'ll be in touch!', 'list_of_payments' => 'List of payments', diff --git a/resources/views/portal/ninja2020/recurring_invoices/show.blade.php b/resources/views/portal/ninja2020/recurring_invoices/show.blade.php index a2debf49c5..7f2bc97c6a 100644 --- a/resources/views/portal/ninja2020/recurring_invoices/show.blade.php +++ b/resources/views/portal/ninja2020/recurring_invoices/show.blade.php @@ -76,10 +76,10 @@ @endif - {{-- @if(is_null($invoice->subscription_id) || optional($invoice->subscription)->allow_cancellation) --}} + @if($invoice->subscription && optional($invoice->subscription)->allow_cancellation) {{-- INV2-591 --}} - @if(false) -