Merge pull request #6437 from beganovich/v5-622
(v5) Rules for autobill check
This commit is contained in:
commit
b4a2bebe67
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
|||
<label class="flex items-center cursor-pointer">
|
||||
<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">
|
||||
{{ $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>
|
||||
</label>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue