IO-2130 Resolve paint code on PPG export.
This commit is contained in:
@@ -33,7 +33,7 @@ namespace BodyshopPartner.Utils
|
|||||||
if (args.Length == 1)
|
if (args.Length == 1)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
graphQlEndpoint = "https://db.development.bodyshop.app/v1/graphql";
|
graphQlEndpoint = "https://db.dev.bodyshop.app/v1/graphql";
|
||||||
RestClient = new RestClient("http://localhost:4000");
|
RestClient = new RestClient("http://localhost:4000");
|
||||||
FirebaseAPIKey = "AIzaSyDPLT8GiDHDR1R4nI66Qi0BY1aYviDPioc";
|
FirebaseAPIKey = "AIzaSyDPLT8GiDHDR1R4nI66Qi0BY1aYviDPioc";
|
||||||
|
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ v_paint_codes
|
|||||||
new XElement("ModelYear", job.v_model_yr?.Value),
|
new XElement("ModelYear", job.v_model_yr?.Value),
|
||||||
new XElement("MakeDesc", job.v_make_desc?.Value),
|
new XElement("MakeDesc", job.v_make_desc?.Value),
|
||||||
new XElement("ModelName", job.v_model_desc?.Value),
|
new XElement("ModelName", job.v_model_desc?.Value),
|
||||||
new XElement("OEMColorCode", job.vehicle?.Value != null ? job.vehicle?.v_paint_codes?.Value == null ? "" : job.vehicle?.v_paint_codes?.paint_cd1?.Value : ""),
|
new XElement("OEMColorCode", job.vehicle != null ? job.vehicle?.v_paint_codes == null ? "a" : job.vehicle?.v_paint_codes?.paint_cd1.Value : "b"),
|
||||||
new XElement("RefinishLaborHours", job.larhrs?.aggregate?.sum.mod_lb_hrs?.Value),
|
new XElement("RefinishLaborHours", job.larhrs?.aggregate?.sum.mod_lb_hrs?.Value),
|
||||||
new XElement("InsuranceCompanyName", job.ins_co_nm?.Value),
|
new XElement("InsuranceCompanyName", job.ins_co_nm?.Value),
|
||||||
new XElement("EstimatorName", $"{job.est_ct_ln}, {job.est_ct_fn}"),
|
new XElement("EstimatorName", $"{job.est_ct_ln}, {job.est_ct_fn}"),
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace BodyshopPartner.ViewModels
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Utils.OEConnection.SendToOEConnection();
|
// Utils.OEConnection.SendToOEConnection();
|
||||||
await TestGql();
|
await Utils.PPGMixData.PushDataToPPG();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return _testCommand;
|
return _testCommand;
|
||||||
|
|||||||
Reference in New Issue
Block a user