|
|
|
@if ($account->showCustomField('custom_invoice_item_label1'))
@include('partials.custom_field', [
'field' => 'custom_invoice_item_label1',
'label' => $account->custom_invoice_item_label1,
'databind' => "value: custom_value1, valueUpdate: 'afterkeydown',
attr: {name: 'invoice_items[" . ($isTasks ? 'T' : '') . "' + \$index() + '][custom_value1]'}",
'raw' => true,
])
|
@endif
@if ($account->showCustomField('custom_invoice_item_label2'))
@include('partials.custom_field', [
'field' => 'custom_invoice_item_label2',
'label' => $account->custom_invoice_item_label2,
'databind' => "value: custom_value2, valueUpdate: 'afterkeydown',
attr: {name: 'invoice_items[" . ($isTasks ? 'T' : '') . "' + \$index() + '][custom_value2]'}",
'raw' => true,
])
|
@endif
|
|
|
{!! Former::select('')
->addOption('', '')
->options($taxRateOptions)
->data_bind('value: tax1, event:{change:onTax1Change}')
->addClass($account->enable_second_tax_rate ? 'tax-select' : '')
->raw() !!}
{!! Former::select('')
->addOption('', '')
->options($taxRateOptions)
->data_bind('value: tax2, event:{change:onTax2Change}')
->addClass('tax-select')
->raw() !!}
|
|
|