Convert mileage to string, change JSON file name.
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user