IO-1094 Remove manual lines from additional costs.

This commit is contained in:
Patrick Fic
2021-05-15 23:01:51 -07:00
parent faed82b143
commit 7ee740f7ce

View File

@@ -274,7 +274,9 @@ function IsAdditionalCost(jobLine) {
jobLine.db_ref === "936008" || jobLine.db_ref === "936007";
return (
!jobLine.db_ref || (jobLine.db_ref.startsWith("9360") && !isPaintOrShopMat)
(jobLine.lbr_op === "OP13" || //Added to resolve manual job lines coming into other totals because they have no reference.
(jobLine.db_ref && jobLine.db_ref.startsWith("9360"))) &&
!isPaintOrShopMat
);
}