mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 16:04:32 -04:00
Proposals
This commit is contained in:
parent
7fe07462e4
commit
c4f2f20049
@ -132,7 +132,7 @@
|
|||||||
value = doubleDollarSign(value) + '';
|
value = doubleDollarSign(value) + '';
|
||||||
value = value.replace(/\n/g, "\\n").replace(/\r/g, "\\r");
|
value = value.replace(/\n/g, "\\n").replace(/\r/g, "\\r");
|
||||||
|
|
||||||
if (['amount', 'partial', 'balance', 'paid_to_date'].indexOf(field) >= 0) {
|
if (['amount', 'partial', 'client.balance', 'client.paid_to_date'].indexOf(field) >= 0) {
|
||||||
value = formatMoneyInvoice(value, invoice);
|
value = formatMoneyInvoice(value, invoice);
|
||||||
} else if (['invoice_date', 'due_date', 'partial_due_date'].indexOf(field) >= 0) {
|
} else if (['invoice_date', 'due_date', 'partial_due_date'].indexOf(field) >= 0) {
|
||||||
value = moment.utc(value).format('{{ $account->getMomentDateFormat() }}');
|
value = moment.utc(value).format('{{ $account->getMomentDateFormat() }}');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user