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',
|
'hours',
|
||||||
'id_number',
|
'id_number',
|
||||||
'invoice',
|
'invoice',
|
||||||
|
'invoice_date',
|
||||||
|
'invoice_number',
|
||||||
'item',
|
'item',
|
||||||
'line_total',
|
'line_total',
|
||||||
'outstanding',
|
'outstanding',
|
||||||
@ -246,6 +248,8 @@ class Account extends Eloquent
|
|||||||
'po_number',
|
'po_number',
|
||||||
'quantity',
|
'quantity',
|
||||||
'quote',
|
'quote',
|
||||||
|
'quote_date',
|
||||||
|
'quote_number',
|
||||||
'rate',
|
'rate',
|
||||||
'service',
|
'service',
|
||||||
'subtotal',
|
'subtotal',
|
||||||
|
@ -187,7 +187,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-4" id="col_2">
|
<div class="col-md-4" id="col_2">
|
||||||
<div data-bind="visible: !is_recurring()">
|
<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') !!}
|
->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()))
|
{!! Former::text('due_date')->data_bind("datePicker: due_date, valueUpdate: 'afterkeydown'")->label($account->getLabel($invoice->getDueDateLabel()))
|
||||||
->placeholder($invoice->id || $invoice->isQuote() ? ' ' : $account->present()->dueDatePlaceholder())
|
->placeholder($invoice->id || $invoice->isQuote() ? ' ' : $account->present()->dueDatePlaceholder())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user