mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #6437 from beganovich/v5-622
(v5) Rules for autobill check
This commit is contained in:
commit
b4a2bebe67
@ -1,8 +1,8 @@
|
|||||||
<label class="flex items-center cursor-pointer">
|
<label class="flex items-center cursor-pointer">
|
||||||
<input type="checkbox" class="form-checkbox mr-2"
|
<input type="checkbox" class="form-checkbox mr-2"
|
||||||
wire:change="updateAutoBilling" {{ $invoice->auto_bill_enabled ? 'checked' : '' }}>
|
wire:change="updateAutoBilling" {{ $invoice->auto_bill_enabled || $invoice->auto_bill === 'optout' ? '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 ? ctrans('texts.auto_bill_enabled') : ctrans('texts.auto_bill_disabled') }}
|
{{ $invoice->auto_bill_enabled || $invoice->auto_bill === 'optout' ? ctrans('texts.auto_bill_enabled') : ctrans('texts.auto_bill_disabled') }}
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user