diff --git a/electron/changelog.json b/electron/changelog.json index fbb6ab8..09276ad 100644 --- a/electron/changelog.json +++ b/electron/changelog.json @@ -48,5 +48,10 @@ "title": "Release Notes for 1.0.18", "date": "04/15/2021", "notes": "Bug Fixes: \n- Updated rare bug in vehicle age calculation.\n- Improved wheel repair calculation logic.\n- Improved $0 price recognition for Aftermarket and Recycled parts." + }, + "1.0.19": { + "title": "Release Notes for 1.0.19", + "date": "TBD", + "notes": "" } } diff --git a/package.json b/package.json index 468edee..178d73c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "ImEX RPS", "author": "ImEX Systems Inc. ", "description": "ImEX RPS", - "version": "1.0.18", + "version": "1.0.19", "main": "electron/main.js", "homepage": "./", "dependencies": { diff --git a/src/ipc/ipc-estimate-utils.js b/src/ipc/ipc-estimate-utils.js index 28284a1..aa3381d 100644 --- a/src/ipc/ipc-estimate-utils.js +++ b/src/ipc/ipc-estimate-utils.js @@ -40,6 +40,7 @@ export async function UpsertEstimate(job) { job = { ...job, + v_mileage: (job.v_mileage !== "" && job.v_mileage) || null, v_type: DetermineVehicleType(job), v_age: CalculateVehicleAge({ ...job,