Allow for empty mileage insert.

This commit is contained in:
Patrick Fic
2021-04-16 12:23:12 -07:00
parent be3a35fa17
commit 43cfaee2e5

View File

@@ -40,6 +40,7 @@ export async function UpsertEstimate(job) {
job = {
...job,
v_mileage: job.v_mileage === "" ? 0 : job.v_mileage,
v_type: DetermineVehicleType(job),
v_age: CalculateVehicleAge({
...job,