From a74144fc848128d261b57bb0e4176fb030b1c46c Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Thu, 30 Mar 2023 08:08:07 -0700 Subject: [PATCH] Remove hail exclusion. --- electron/changelog.json | 5 +++++ electron/decoder/decoder.js | 14 ++++++++------ package.json | 2 +- .../shop-settings-form.molecule.jsx | 12 ++---------- 4 files changed, 16 insertions(+), 17 deletions(-) diff --git a/electron/changelog.json b/electron/changelog.json index fd2f394..304a2e7 100644 --- a/electron/changelog.json +++ b/electron/changelog.json @@ -103,5 +103,10 @@ "title": "Release Notes for 1.1.0", "date": "03/29/2023", "notes": "***Major Update***\r\nAdded support for new rules coming into effect on April 1, 2023.\r\nThese rules come into effect based on the R4P date of the job. If you bring in a job before April 1, and set the R4P date after April 1, you will need to reimport the job and the system will warn you accordingly.\r\n\r\nBug Fixes: \r\n- Improved SUV recognition." + }, + "1.1.1": { + "title": "Release Notes for 1.1.1", + "date": "03/30/2023", + "notes": "Minor bug fix." } } diff --git a/electron/decoder/decoder.js b/electron/decoder/decoder.js index 30c339e..5ec19f5 100644 --- a/electron/decoder/decoder.js +++ b/electron/decoder/decoder.js @@ -99,12 +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 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 { delete job.LOSS_TYPE; returnValue = _.transform(job, function (result, val, key) { result[key.toLowerCase()] = val; diff --git a/package.json b/package.json index c05ca98..56c8220 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "ImEX RPS", "author": "ImEX Systems Inc. ", "description": "ImEX RPS", - "version": "1.1.0", + "version": "1.1.1", "main": "electron/main.js", "homepage": "./", "dependencies": { diff --git a/src/components/molecules/shop-settings-form/shop-settings-form.molecule.jsx b/src/components/molecules/shop-settings-form/shop-settings-form.molecule.jsx index 5eed2e9..30f6680 100644 --- a/src/components/molecules/shop-settings-form/shop-settings-form.molecule.jsx +++ b/src/components/molecules/shop-settings-form/shop-settings-form.molecule.jsx @@ -5,19 +5,12 @@ import { InputNumber, Popconfirm, Select, - Typography + Typography, } from "antd"; -import React, { useState } from "react"; +import React from "react"; import LayoutFormRow from "../../atoms/layout-form-row/layout-form-row.atom"; export default function ShopSettingsFormMolecule({ form, saveLoading }) { - const [groupOptions, setGroupOptions] = useState( - form.getFieldValue("groups") || [] - ); - const handleBlur = () => { - setGroupOptions(form.getFieldValue("groups") || []); - }; - return (
Shop Settings @@ -68,7 +61,6 @@ export default function ShopSettingsFormMolecule({ form, saveLoading }) { -
); }