mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fixed problem with dates with new PDF designs
This commit is contained in:
parent
aa421b00ad
commit
c16f74d9a2
@ -31824,11 +31824,11 @@ NINJA.invoiceDetails = function(invoice) {
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
{text: invoiceLabels.invoice_date},
|
{text: invoiceLabels.invoice_date},
|
||||||
{text: moment(invoice.invoice_date, 'YYYY-MM-DD').format('MMM D YYYY')}
|
{text: invoice.invoice_date}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{text: invoiceLabels.due_date},
|
{text: invoiceLabels.due_date},
|
||||||
{text: invoice.due_date ? moment(invoice.due_date, 'YYYY-MM-DD').format('MMM D YYYY') : false}
|
{text: invoice.due_date}
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -347,11 +347,11 @@ NINJA.invoiceDetails = function(invoice) {
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
{text: invoiceLabels.invoice_date},
|
{text: invoiceLabels.invoice_date},
|
||||||
{text: moment(invoice.invoice_date, 'YYYY-MM-DD').format('MMM D YYYY')}
|
{text: invoice.invoice_date}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{text: invoiceLabels.due_date},
|
{text: invoiceLabels.due_date},
|
||||||
{text: invoice.due_date ? moment(invoice.due_date, 'YYYY-MM-DD').format('MMM D YYYY') : false}
|
{text: invoice.due_date}
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user