IO-3503 Job Costing Fixes for CAD

Signed-off-by: Allan Carr <allan@imexsystems.ca>
This commit is contained in:
Allan Carr
2026-01-23 14:17:03 -08:00
parent c29ac5f711
commit e1666baddd

View File

@@ -522,10 +522,7 @@ function GenerateCostingData(job) {
}
}
if (InstanceManager({ imex: true, rome: false })) {
//this might need to be removed for ImEX
jobLineTotalsByProfitCenter.parts[key] = jobLineTotalsByProfitCenter.parts[key].add(disc).add(markup);
} else {
if (InstanceManager({ rome: true })) {
const correspondingCiecaStlTotalLine = job.cieca_stl?.data.find(
(c) => c.ttl_typecd === convertedKey.toUpperCase()
);