Fix 20,000 KM bug for SGI. Beta.4 release.
This commit is contained in:
@@ -218,5 +218,10 @@
|
||||
"title": "Release Notes for 1.6.0-beta.3",
|
||||
"date": "05/05/2026",
|
||||
"notes": "New Features:\r\n* Added a toggle for SGI RCC Claims to set targets to $0.\r\n* Added handling for used parts thresholds for SGI claims. Please re-import previous jobs for accurate scoring."
|
||||
},
|
||||
"1.6.0-beta.4": {
|
||||
"title": "Release Notes for 1.6.0-beta.4",
|
||||
"date": "05/07/2026",
|
||||
"notes": "Bug Fix:\r\n* Resolved an issue for vehicles under 20,000 kms returning a target for SGI vehicles.\r\n"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"productName": "ImEX RPS",
|
||||
"author": "ImEX Systems Inc. <support@thinkimex.com>",
|
||||
"description": "ImEX RPS",
|
||||
"version": "1.6.0-beta.3",
|
||||
"version": "1.6.0-beta.4",
|
||||
"main": "electron/main.js",
|
||||
"homepage": "./",
|
||||
"dependencies": {
|
||||
|
||||
@@ -17,6 +17,9 @@ export default function GetJobTarget({ group, v_age, targets, close_date, v_mile
|
||||
if (job.sgi_rcc) {
|
||||
return 0;
|
||||
}
|
||||
if (v_mileage && v_mileage <= 20000) {
|
||||
return 0;
|
||||
}
|
||||
return sgiTarget?.target || 0;
|
||||
|
||||
case "MPI":
|
||||
|
||||
Reference in New Issue
Block a user