IO-3503 Job Costing Fixes for CAD
Signed-off-by: Allan Carr <allan@imexsystems.ca>
This commit is contained in:
@@ -522,10 +522,7 @@ function GenerateCostingData(job) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (InstanceManager({ imex: true, rome: false })) {
|
if (InstanceManager({ rome: true })) {
|
||||||
//this might need to be removed for ImEX
|
|
||||||
jobLineTotalsByProfitCenter.parts[key] = jobLineTotalsByProfitCenter.parts[key].add(disc).add(markup);
|
|
||||||
} else {
|
|
||||||
const correspondingCiecaStlTotalLine = job.cieca_stl?.data.find(
|
const correspondingCiecaStlTotalLine = job.cieca_stl?.data.find(
|
||||||
(c) => c.ttl_typecd === convertedKey.toUpperCase()
|
(c) => c.ttl_typecd === convertedKey.toUpperCase()
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user