|
|
|
@if ($account->customLabel('product1'))
@include('partials.custom_field', [
'field' => 'custom_invoice_item_label1',
'label' => $account->customLabel('product1'),
'databind' => "value: custom_value1, valueUpdate: 'afterkeydown',
attr: {name: 'invoice_items[" . ($isTasks ? 'T' : '') . "' + \$index() + '][custom_value1]'}",
'raw' => true,
])
|
@endif
@if ($account->customLabel('product2'))
@include('partials.custom_field', [
'field' => 'custom_invoice_item_label2',
'label' => $account->customLabel('product2'),
'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() !!}
|
|
|