Apply MPI line inclusions to SGI temporarily.
This commit is contained in:
9
SGI.md
Normal file
9
SGI.md
Normal file
@@ -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.
|
||||
*
|
||||
@@ -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;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"productName": "ImEX RPS",
|
||||
"author": "ImEX Systems Inc. <support@thinkimex.com>",
|
||||
"description": "ImEX RPS",
|
||||
"version": "1.6.0-alpha.3",
|
||||
"version": "1.6.0-alpha.4",
|
||||
"main": "electron/main.js",
|
||||
"homepage": "./",
|
||||
"dependencies": {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user