Add taxable overrides to shop configuration.

This commit is contained in:
Patrick Fic
2023-10-11 10:49:30 -07:00
parent ef146032df
commit 02690b6796
17 changed files with 3197 additions and 165 deletions

View File

@@ -440,8 +440,8 @@ async function CalculateRatesTotals({ job, client }) {
}
//Materials Scrubbing as required by CCC.
let matTotalLine = job.cieca_stl.data.find((l) => l.ttl_typecd === "MAT");
let shopMatLine = job.cieca_stl.data.find((l) => l.ttl_typecd === "MASH");
let matTotalLine = job.cieca_stl?.data?.find((l) => l.ttl_typecd === "MAT");
let shopMatLine = job.cieca_stl?.data?.find((l) => l.ttl_typecd === "MASH");
if (matTotalLine && shopMatLine) {
//Check to see if theyre different