Improve auto bill text in client portal

This commit is contained in:
David Bomba 2023-05-25 16:09:12 +10:00
parent d463988355
commit fbc0895f10
2 changed files with 2 additions and 1 deletions

View File

@ -5094,6 +5094,7 @@ $LANG = array(
'order_id' => 'Order', 'order_id' => 'Order',
'total_invoices_outstanding' => 'Total Invoices Outstanding', 'total_invoices_outstanding' => 'Total Invoices Outstanding',
'recent_activity' => 'Recent Activity', 'recent_activity' => 'Recent Activity',
'enable_auto_bill' => 'Enable auto billing',
); );

View File

@ -3,6 +3,6 @@
wire:change="updateAutoBilling" {{ $invoice->auto_bill_enabled ? 'checked' : '' }}> wire:change="updateAutoBilling" {{ $invoice->auto_bill_enabled ? 'checked' : '' }}>
<span class="text-sm leading-5 font-medium text-gray-900"> <span class="text-sm leading-5 font-medium text-gray-900">
{{ $invoice->auto_bill_enabled || $invoice->auto_bill === 'optout' ? ctrans('texts.auto_bill_enabled') : ctrans('texts.auto_bill_disabled') }} {{ ctrans('texts.enable_auto_bill') }}
</span> </span>
</label> </label>