From 343274e1e271a8ca883b5bf3f00c229549306269 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Thu, 27 May 2021 16:25:07 -0700 Subject: [PATCH] IO-1152 Missed in last commit. --- server/accounting/qbxml/qbxml-receivables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/accounting/qbxml/qbxml-receivables.js b/server/accounting/qbxml/qbxml-receivables.js index 49f67f397..375a99d88 100644 --- a/server/accounting/qbxml/qbxml-receivables.js +++ b/server/accounting/qbxml/qbxml-receivables.js @@ -221,7 +221,7 @@ const generateInvoiceQbxml = ( amount: Math.round((jobline.act_price || 0) * 100), }) .multiply(jobline.part_qty || 0) - .percentage(jobline.prt_dsmk_p) + .percentage(jobline.prt_dsmk_p || 0) ); const account = responsibilityCenters.profits.find( (i) => jobline.profitcenter_part.toLowerCase() === i.name.toLowerCase()