mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix problem with quote labels on PDF
This commit is contained in:
parent
29fc9db9b7
commit
99568e4cee
@ -32343,7 +32343,7 @@ function displayGrid(doc, invoice, data, x, y, layout, options) {
|
||||
doc.text(marginLeft, y, value);
|
||||
|
||||
doc.setFontType('normal');
|
||||
if (parseInt(invoice.is_quote)) {
|
||||
if (invoice.is_quote) {
|
||||
if (key == 'invoice_number') {
|
||||
key = 'quote_number';
|
||||
} else if (key == 'invoice_date') {
|
||||
|
@ -820,7 +820,7 @@ function displayGrid(doc, invoice, data, x, y, layout, options) {
|
||||
doc.text(marginLeft, y, value);
|
||||
|
||||
doc.setFontType('normal');
|
||||
if (parseInt(invoice.is_quote)) {
|
||||
if (invoice.is_quote) {
|
||||
if (key == 'invoice_number') {
|
||||
key = 'quote_number';
|
||||
} else if (key == 'invoice_date') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user