Merged in hotfix/2020-05-28 (pull request #74)

Hotfix to test for IO-1152.
This commit is contained in:
Patrick Fic
2021-05-27 23:25:55 +00:00

View File

@@ -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()