Futher calculations refinments and QBD testing.
This commit is contained in:
@@ -520,7 +520,7 @@ async function ResolveCCCLineIssues(estData, bodyshop) {
|
||||
//TODO Ensure that this doesnt get violated
|
||||
//This needs to be done before cleansing unq_seq since some misc prices could move over.
|
||||
estData.joblines.data.forEach((line) => {
|
||||
if (line.misc_amt && line.misc_amt > 0) {
|
||||
if (line.misc_amt && line.misc_amt !== 0) {
|
||||
line.act_price = line.misc_amt;
|
||||
line.part_type = "PAS";
|
||||
line.tax_part = line.misc_tax;
|
||||
@@ -546,6 +546,8 @@ async function ResolveCCCLineIssues(estData, bodyshop) {
|
||||
...estData.joblines.data[nonRefLineIndex + 1],
|
||||
act_price: null,
|
||||
db_price: null,
|
||||
prt_dsmk_p: 0,
|
||||
prt_dsmk_m: 0,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user