From adc48f50d7e50e06180b4118e885f4205e6a4d1c Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Fri, 7 Jan 2022 10:01:09 -0800 Subject: [PATCH] IO-1622 Resolve CDK Export missing option --- server/cdk/cdk-calculate-allocations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/cdk/cdk-calculate-allocations.js b/server/cdk/cdk-calculate-allocations.js index 0b7d84912..e87508b97 100644 --- a/server/cdk/cdk-calculate-allocations.js +++ b/server/cdk/cdk-calculate-allocations.js @@ -89,7 +89,7 @@ exports.default = async function (socket, jobid) { acc[val.profitcenter_part] = acc[val.profitcenter_part].add(DineroAmount); } - if (val.profitcenter_labor) { + if (val.profitcenter_labor && val.mod_lbr_ty) { //Check the Labor Assignment. if (!acc[val.profitcenter_labor])