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])