Resolve calculation issue for private jobs.
This commit is contained in:
@@ -368,7 +368,7 @@ async function CalculateRatesTotals({ job, client }) {
|
|||||||
rates_subtotal = rates_subtotal.add(ret[property].total);
|
rates_subtotal = rates_subtotal.add(ret[property].total);
|
||||||
}
|
}
|
||||||
|
|
||||||
const stlMahw = job.cieca_stl.data.find((c) => c.ttl_typecd === "MAHW");
|
const stlMahw = job.cieca_stl?.data.find((c) => c.ttl_typecd === "MAHW");
|
||||||
|
|
||||||
if (
|
if (
|
||||||
stlMahw &&
|
stlMahw &&
|
||||||
|
|||||||
Reference in New Issue
Block a user