From d5883fb6e238adb0f9d11f189aacc53ef3a03093 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Tue, 5 Mar 2024 07:00:42 -0500 Subject: [PATCH] Final 1.1.8 release. --- electron/changelog.json | 5 +++++ electron/decoder/decoder.js | 7 ++++--- package.json | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/electron/changelog.json b/electron/changelog.json index fe67944..ce9afdd 100644 --- a/electron/changelog.json +++ b/electron/changelog.json @@ -138,5 +138,10 @@ "title": "Release Notes for 1.1.7", "date": "10/19/2023", "notes": "Bug Fixes:\r\n- Minor bug fixes and improvements." + }, + "1.1.8": { + "title": "Release Notes for 1.1.8", + "date": "02/07/2024", + "notes": "Bug Fixes:\r\n- Improved detection for wheel related repair lines." } } diff --git a/electron/decoder/decoder.js b/electron/decoder/decoder.js index 5ec19f5..1916d71 100644 --- a/electron/decoder/decoder.js +++ b/electron/decoder/decoder.js @@ -99,14 +99,14 @@ async function DecodeEstimate( returnValue = { ERROR: "Job ignored. This is an -02 claim. Claim #. " + job.CLM_NO, }; - } + } // else if (job.LOSS_TYPE.toLowerCase() === "h") { // log.info("Job ignored. This is a hail damage claim. " + job.CLM_NO); // returnValue = { // ERROR: "Job ignored. This is a hail damage claim. " + job.CLM_NO, // }; // } - else { + else { delete job.LOSS_TYPE; returnValue = _.transform(job, function (result, val, key) { result[key.toLowerCase()] = val; @@ -478,7 +478,8 @@ function V1Ruleset(jobline, joblines) { 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().includes("tire") && + !jobline.line_desc.toLowerCase().includes("sensor")) || jobline.line_desc.toLowerCase().startsWith("hazardous") || jobline.line_desc.toLowerCase().startsWith("detail") || jobline.line_desc.toLowerCase().startsWith("clean") || diff --git a/package.json b/package.json index a318525..a3df36d 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "ImEX RPS", "author": "ImEX Systems Inc. ", "description": "ImEX RPS", - "version": "1.1.7", + "version": "1.1.8", "main": "electron/main.js", "homepage": "./", "dependencies": { @@ -45,7 +45,7 @@ }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build && yarn run sentry:sourcemaps", + "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", "dev": "concurrently -k \"npm start\" \"npm:electron\"",