Show cancellation dialogue

This commit is contained in:
David Bomba 2022-01-03 11:12:03 +11:00
parent 6f8ecd1f10
commit d3a1c76723
2 changed files with 4 additions and 4 deletions

View File

@ -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',

View File

@ -76,10 +76,10 @@
</div>
@endif
{{-- @if(is_null($invoice->subscription_id) || optional($invoice->subscription)->allow_cancellation) --}}
@if($invoice->subscription && optional($invoice->subscription)->allow_cancellation)
{{-- INV2-591 --}}
@if(false)
<div class="bg-white shadow sm:rounded-lg mt-4 hidden">
{{-- @if(false) --}}
<div class="bg-white shadow sm:rounded-lg mt-4">
<div class="px-4 py-5 sm:p-6">
<div class="sm:flex sm:items-start sm:justify-between">
<div>