IO-1468 QB and CDK Updates for MCE Markup

This commit is contained in:
Patrick Fic
2021-10-14 11:21:06 -07:00
parent 660f463aea
commit 1d210a9e52
9 changed files with 91 additions and 7 deletions

View File

@@ -31,9 +31,9 @@ exports.default = function ({
hasMashLine = true;
}
//Parts Lines Mappings.
if (jobline.profitcenter_part && jobline.act_price) {
if (jobline.profitcenter_part) {
let DineroAmount = Dinero({
amount: Math.round(jobline.act_price * 100),
amount: Math.round((jobline.act_price || 0) * 100),
}).multiply(jobline.part_qty || 1);
if (