From 99568e4cee1f2000c238cbcecdbb815101c873a5 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 9 Feb 2015 15:29:11 +0200 Subject: [PATCH] Fix problem with quote labels on PDF --- public/built.js | 2 +- public/js/script.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/built.js b/public/built.js index 864fc51e2ee9..0d73f40ecede 100644 --- a/public/built.js +++ b/public/built.js @@ -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') { diff --git a/public/js/script.js b/public/js/script.js index 92fa01db14a9..1c99d557bc75 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -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') {