mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added additional custom field labels
This commit is contained in:
parent
9ab51ac67f
commit
125711cc5d
@ -238,6 +238,8 @@ class Account extends Eloquent
|
||||
'hours',
|
||||
'id_number',
|
||||
'invoice',
|
||||
'invoice_date',
|
||||
'invoice_number',
|
||||
'item',
|
||||
'line_total',
|
||||
'outstanding',
|
||||
@ -246,6 +248,8 @@ class Account extends Eloquent
|
||||
'po_number',
|
||||
'quantity',
|
||||
'quote',
|
||||
'quote_date',
|
||||
'quote_number',
|
||||
'rate',
|
||||
'service',
|
||||
'subtotal',
|
||||
|
@ -187,7 +187,7 @@
|
||||
</div>
|
||||
<div class="col-md-4" id="col_2">
|
||||
<div data-bind="visible: !is_recurring()">
|
||||
{!! Former::text('invoice_date')->data_bind("datePicker: invoice_date, valueUpdate: 'afterkeydown'")->label(trans("texts.{$entityType}_date"))
|
||||
{!! Former::text('invoice_date')->data_bind("datePicker: invoice_date, valueUpdate: 'afterkeydown'")->label($account->getLabel("{$entityType}_date"))
|
||||
->data_date_format(Session::get(SESSION_DATE_PICKER_FORMAT, DEFAULT_DATE_PICKER_FORMAT))->appendIcon('calendar')->addGroupClass('invoice_date') !!}
|
||||
{!! Former::text('due_date')->data_bind("datePicker: due_date, valueUpdate: 'afterkeydown'")->label($account->getLabel($invoice->getDueDateLabel()))
|
||||
->placeholder($invoice->id || $invoice->isQuote() ? ' ' : $account->present()->dueDatePlaceholder())
|
||||
|
Loading…
x
Reference in New Issue
Block a user