Convert mileage to string, change JSON file name.

This commit is contained in:
Patrick Fic
2025-10-15 08:17:05 -07:00
parent 84028f19dd
commit cd42bd6496
2 changed files with 4 additions and 2 deletions

View File

@@ -68,6 +68,8 @@ async function ScrubEstimate({ job }) {
job.rf_ph1 = job.bodyshop.phone;
job.g_ttl_amt = job.clm_total;
job.source_system = "M"; //Requested by Steven.
job.v_mileage = job.v_mileage?.toString() || "" //Requested by Steven to be a string.
delete job.clm_total;
delete job.bodyshop; //Bodyshop has to be passed through the object as we don't have access to the store here.
@@ -102,7 +104,7 @@ async function ScrubEstimate({ job }) {
});
}
const fileName = `RPS-Scrub-${job.id}-${job.clm_no}-${Date.now()}`;
const fileName = `RPS-Scrub-${esApiKey}-${job.clm_no}-${Date.now()}`;
// Write job object to logs subfolder
try {

View File

@@ -3,7 +3,7 @@
"productName": "ImEX RPS",
"author": "ImEX Systems Inc. <support@thinkimex.com>",
"description": "ImEX RPS",
"version": "1.5.0-alpha.1",
"version": "1.5.0-alpha.2",
"main": "electron/main.js",
"homepage": "./",
"dependencies": {