IO-1094 Remove manual lines from additional costs.
This commit is contained in:
@@ -274,7 +274,9 @@ function IsAdditionalCost(jobLine) {
|
|||||||
jobLine.db_ref === "936008" || jobLine.db_ref === "936007";
|
jobLine.db_ref === "936008" || jobLine.db_ref === "936007";
|
||||||
|
|
||||||
return (
|
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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user