Ignore adhesive lines for glass.

This commit is contained in:
Patrick Fic
2021-10-13 14:57:52 -07:00
parent 825711ef70
commit 8de3d425c1
3 changed files with 33 additions and 31 deletions

View File

@@ -71,7 +71,7 @@
},
"1.0.23": {
"title": "Release Notes for 1.0.23",
"date": "TBD",
"notes": ""
"date": "10/13/2021",
"notes": "New Features: \n- Improved detection of glass and glass related lines.\n- Improved detection of manual part changes."
}
}

View File

@@ -464,6 +464,8 @@ async function DecodeLinFile(extensionlessFilePath) {
!jobline.part_type ||
jobline.db_ref.startsWith("900") ||
jobline.line_desc.toLowerCase().startsWith("urethane") ||
jobline.line_desc.toLowerCase().startsWith("w/shield adhesive") ||
//jobline.line_desc.toLowerCase().includes("wheel") || Removed as a part of RPS-41
jobline.line_desc.toLowerCase().includes("tire") ||
jobline.line_desc.toLowerCase().startsWith("hazardous") ||

View File

@@ -1,37 +1,37 @@
import { AlertFilled } from "@ant-design/icons";
import { Tooltip } from "antd";
import React from "react";
const models = [
"equinox",
"expedition",
"pickup",
"tucson",
"terrain",
"sorento",
"sienna",
"grandcaravan",
"grand caravan",
"journey",
"nv200",
"rav4",
//"odyssey",
"murano",
"edge",
"ram",
"kicks",
"qashqai",
"escape",
"santa fe",
"trax",
"armada",
"traverse",
"telluride",
"express",
];
// const models = [
// "equinox",
// "expedition",
// "pickup",
// "tucson",
// "terrain",
// "sorento",
// "sienna",
// "grandcaravan",
// "grand caravan",
// "journey",
// "nv200",
// "rav4",
// //"odyssey",
// "murano",
// "edge",
// "ram",
// "kicks",
// "qashqai",
// "escape",
// "santa fe",
// "trax",
// "armada",
// "traverse",
// "telluride",
// "express",
// ];
export default function VehicleGroupAlertAtom({ job, showGroup = false }) {
const shouldWarn =
models.includes(job.v_model.toLowerCase()) && !job.group_verified;
const shouldWarn = false;
// models.includes(job.v_model.toLowerCase()) && !job.group_verified;
const vehicleText = `${job.v_model_yr} ${job.v_makedesc} ${job.v_model} (${
job.v_type