diff --git a/SGI.md b/SGI.md new file mode 100644 index 0000000..9da123d --- /dev/null +++ b/SGI.md @@ -0,0 +1,9 @@ +* Ensure SAAR switch is set for Estimate +* INS_CO_NMs +* Line discounts? + + +SGI Questions +* MPI enforces a quantity of 1 - will this hold true? +* Special rules like 50% wheel repair lines. +* \ No newline at end of file diff --git a/electron/decoder/decoder.js b/electron/decoder/decoder.js index 49a517e..8b909d8 100644 --- a/electron/decoder/decoder.js +++ b/electron/decoder/decoder.js @@ -389,6 +389,7 @@ async function DecodeLinFile(extensionlessFilePath, close_date) { jobline.ignore = false; switch (ins_rule_set) { case "MPI": + case "SGI": const rulesetToApply = WhichRulesetToApply(close_date); switch (rulesetToApply) { @@ -406,10 +407,10 @@ async function DecodeLinFile(extensionlessFilePath, close_date) { break; } break; - case "SGI": - log.info("Using SGI ruleset. Line will be automatically counted until rules are added."); + // case "SGI": + // log.info("Using SGI ruleset. Line will be automatically counted until rules are added."); - break; + // break; default: log.info("Using default ruleset (MPI)."); break; diff --git a/package.json b/package.json index da4a253..434091c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "ImEX RPS", "author": "ImEX Systems Inc. ", "description": "ImEX RPS", - "version": "1.6.0-alpha.3", + "version": "1.6.0-alpha.4", "main": "electron/main.js", "homepage": "./", "dependencies": { diff --git a/src/components/pages/routes/routes.page.jsx b/src/components/pages/routes/routes.page.jsx index b53889a..9c3b1ac 100644 --- a/src/components/pages/routes/routes.page.jsx +++ b/src/components/pages/routes/routes.page.jsx @@ -32,7 +32,7 @@ export function RoutesPage({ bodyshop, darkMode }) { if (bodyshop?.ins_rule_set === "SGI") { notification.warning({ message: "SGI Target Warning", - description: "SGI has not yet released savings targets. Targets will be displayed as $0.", + description: "SGI has not yet released savings targets. Targets will be displayed as $0. MPI Rules have been applied and may be incorrect.", placement: "bottomLeft", key: "sgi-target-warning", duration: -1,