Fix label for custom field with blank label
This commit is contained in:
parent
16e37be43a
commit
5bae89dcbd
1 changed files with 2 additions and 2 deletions
|
|
@ -172,7 +172,7 @@
|
|||
@endif
|
||||
|
||||
@if ($account->showCustomField('custom_invoice_text_label1', $invoice))
|
||||
{!! Former::text('custom_text_value1')->label($account->custom_invoice_text_label1)->data_bind("value: custom_text_value1, valueUpdate: 'afterkeydown'") !!}
|
||||
{!! Former::text('custom_text_value1')->label($account->custom_invoice_text_label1 ?: ' ')->data_bind("value: custom_text_value1, valueUpdate: 'afterkeydown'") !!}
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
|
@ -219,7 +219,7 @@
|
|||
) !!}
|
||||
|
||||
@if ($account->showCustomField('custom_invoice_text_label2', $invoice))
|
||||
{!! Former::text('custom_text_value2')->label($account->custom_invoice_text_label2)->data_bind("value: custom_text_value2, valueUpdate: 'afterkeydown'") !!}
|
||||
{!! Former::text('custom_text_value2')->label($account->custom_invoice_text_label2 ?: ' ')->data_bind("value: custom_text_value2, valueUpdate: 'afterkeydown'") !!}
|
||||
@endif
|
||||
|
||||
@if ($entityType == ENTITY_INVOICE)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue