Add back NA line items & updated vehicle lists.

This commit is contained in:
Patrick Fic
2021-12-01 14:38:06 -08:00
parent 628a3d5370
commit bc3b7c062c
4 changed files with 16 additions and 17 deletions

View File

@@ -81,7 +81,7 @@
},
"1.0.25": {
"title": "Release Notes for 1.0.25",
"date": "11/08/2021",
"notes": "New Features: \n- Resolved age calculation issue for model year 2022 vehicles."
"date": "12/01/2021",
"notes": "New Features: \n- Updated Vehicle categorization lists.\n- Improved N/A/$0 line item detection and calculations."
}
}

View File

@@ -360,19 +360,19 @@ async function DecodeLinFile(extensionlessFilePath) {
// Appears you are calculating based on N.A. part values in the Mitchell database.
// Reminder if Mitchell DB has $0.00 price updates can be tracked, if it has N.A. it cannot calculate RPS value.
// if (
// (jobline.db_price === null || jobline.db_price === 0) &&
// !!jobline.act_price &&
// jobline.act_price > 0
// ) {
// // log.info(
// // "DB Price null/lower than act price",
// // jobline.line_desc,
// // jobline.db_price,
// // jobline.act_price
// // );
// jobline.db_price = jobline.act_price;
// }
if (
(jobline.db_price === null || jobline.db_price === 0) &&
!!jobline.act_price &&
jobline.act_price > 0
) {
// log.info(
// "DB Price null/lower than act price",
// jobline.line_desc,
// jobline.db_price,
// jobline.act_price
// );
jobline.db_price = jobline.act_price;
}
//*****TODO LINE****
//Any PAL, Remanufactured, Recycled, Aftermarket, Used,

View File

@@ -20,6 +20,7 @@
"EXPLORER XLT",
"FLEX",
"FLEX SE",
"ECOSPORT",
"CHEROKEE",
"CHEROKEE CLASSIC",

View File

@@ -523,8 +523,6 @@
"SONOMA CREW CAB",
"SONOMA EXT CAB",
"YUKON SLT",
"1500",
"1500 Classic",
"Pickup 1500",