Correct vehicle pickup.
This commit is contained in:
@@ -33,7 +33,7 @@ namespace RomeOnlinePartner.Utils
|
||||
if (args.Length == 1)
|
||||
{
|
||||
#if DEBUG
|
||||
graphQlEndpoint = "https://db.dev.bodyshop.app/v1/graphql";
|
||||
graphQlEndpoint = "https://db.dev.imex.online/v1/graphql";
|
||||
RestClient = new RestClient("http://localhost:4000");
|
||||
FirebaseAPIKey = "AIzaSyDPLT8GiDHDR1R4nI66Qi0BY1aYviDPioc";
|
||||
|
||||
|
||||
@@ -1395,7 +1395,7 @@ namespace RomeOnlinePartner.Utils.Decoder
|
||||
j.plate_st = readValues[4]?.ToString();
|
||||
j.v_vin = readValues[5]?.ToString();
|
||||
j.v_model_yr = readValues[8]?.ToString();
|
||||
j.v_make_desc = readValues[10]?.ToString();
|
||||
j.v_make_desc = readValues[10]?.ToString() == "" ? readValues[9]?.ToString() : readValues[10]?.ToString(); ;
|
||||
j.v_model_desc = readValues[11]?.ToString();
|
||||
j.v_color = readValues[19]?.ToString();
|
||||
j.kmin = readValues[18];
|
||||
|
||||
@@ -144,6 +144,7 @@ namespace RomeOnlinePartner.Utils
|
||||
newJob.vehicle_info = item.Job.vehicle.data.v_model_yr?.Value + " " + item.Job.vehicle.data.v_make_desc?.Value + " " + item.Job.vehicle.data.v_model_desc?.Value;
|
||||
newJob.clm_no = item.Job.clm_no?.Value;
|
||||
newJob.clm_amt = item.Job.clm_total?.Value;
|
||||
newJob.source_system = item.Job.source_system?.Value;
|
||||
|
||||
var vehuuid = await Utils.Queries.VehicleQueries.GetVehicleUuidByVin(item?.Job?.vehicle?.data?.v_vin?.Value ?? "");
|
||||
if (!string.IsNullOrEmpty(vehuuid))
|
||||
|
||||
Reference in New Issue
Block a user