Merge branch 'feature/AIO/promanager' into test-AIO

This commit is contained in:
Patrick Fic
2024-04-11 14:29:09 -07:00
2 changed files with 4 additions and 5 deletions

View File

@@ -608,13 +608,12 @@ function ResolveCCCLineIssues(estData, bodyshop) {
//Web Est seems to have additional costs with UNQ_SEQ 0. Keep them all?
if (line.unq_seq === 0) return;
if (index0ActPrice !== line.act_price) {
line.notes += ` | Price override.`;
// line.notes += ` | Price override.`;
return;
}
const indexInEstData = estData.joblines.data.findIndex((l) => l.unq_seq === line.unq_seq);
estData.joblines.data[
indexInEstData
].notes += ` | Scrubbed due to the line_ref issue. (prev act price = ${estData.joblines.data[indexInEstData].act_price})`;
//estData.joblines.data[indexInEstData].notes +=
// ` | Act Price delete. (prev act price = ${estData.joblines.data[indexInEstData].act_price})`;
estData.joblines.data[indexInEstData].act_price = 0;
estData.joblines.data[indexInEstData].db_price = 0;
});

View File

@@ -925,7 +925,7 @@ function CalculateTaxesTotals(job, otherTotals) {
thresholdAmount === 9999.99 ||
InstanceMgr({
imex: false,
rome: false,
rome: thresholdAmount === 0 && parseInt(tyCounter) === 1,
promanager: thresholdAmount === 0 && parseInt(tyCounter) === 1
})
) {