From 2f60629f5177463ad957274f65f4c052e4615df4 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 23 Aug 2021 14:18:50 -0700 Subject: [PATCH] Update missing owner information. --- .../Utils/Decoder/EstimateDecoder.cs | 23 ++++++++++++++++++- BodyshopUploader/Views/Main.xaml | 4 ++-- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs b/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs index eca6d38..e550a25 100644 --- a/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs +++ b/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs @@ -282,7 +282,7 @@ namespace BodyshopPartner.Utils.Decoder j.ownr_ph1 = readValues[78]; if (String.IsNullOrWhiteSpace(ownerRoot.ownr_ph1.Value)) { - ownerRoot.ownr_ph1 = readValues[80]; + j.ownr_ph1 = readValues[80]; } //j.insd_ph1x = readValues[79]; // j.insd_ph2 = readValues[80]; @@ -290,6 +290,27 @@ namespace BodyshopPartner.Utils.Decoder j.ownr_ea = readValues[84]; + ownerRoot.ownr_ln = readValues[68]; + ownerRoot.ownr_fn = readValues[69]; + ownerRoot.ownr_title = readValues[70]; + ownerRoot.ownr_co_nm = readValues[71]; + ownerRoot.ownr_addr1 = readValues[72]; + ownerRoot.ownr_addr2 = readValues[73]; + ownerRoot.ownr_city = readValues[74]; + ownerRoot.ownr_st = readValues[75]; + ownerRoot.ownr_zip = readValues[76]; + ownerRoot.ownr_ctry = readValues[77]; + ownerRoot.ownr_ph1 = readValues[78]; + if (String.IsNullOrWhiteSpace(ownerRoot.ownr_ph1.Value)) + { + ownerRoot.ownr_ph1 = readValues[80]; + } + //ownerRoot.insd_ph1x = readValues[79]; + // ownerRoot.insd_ph2 = readValues[80]; + // ownerRoot.insd_ph2x = readValues[81]; + + ownerRoot.ownr_ea = readValues[84]; + } diff --git a/BodyshopUploader/Views/Main.xaml b/BodyshopUploader/Views/Main.xaml index f614018..57e1a0e 100644 --- a/BodyshopUploader/Views/Main.xaml +++ b/BodyshopUploader/Views/Main.xaml @@ -159,10 +159,10 @@