Add back NA line items & updated vehicle lists.
This commit is contained in:
@@ -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."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"EXPLORER XLT",
|
||||
"FLEX",
|
||||
"FLEX SE",
|
||||
"ECOSPORT",
|
||||
|
||||
"CHEROKEE",
|
||||
"CHEROKEE CLASSIC",
|
||||
|
||||
@@ -523,8 +523,6 @@
|
||||
"SONOMA CREW CAB",
|
||||
"SONOMA EXT CAB",
|
||||
|
||||
"YUKON SLT",
|
||||
|
||||
"1500",
|
||||
"1500 Classic",
|
||||
"Pickup 1500",
|
||||
|
||||
Reference in New Issue
Block a user