From b123ecdae16d167251cfc94b32bba19e82d0fd2d Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Sun, 12 Nov 2023 11:16:13 +0100 Subject: [PATCH] removed flag check for PASD, still needs to be tested --- ENI2/Excel/DakosyUtil.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ENI2/Excel/DakosyUtil.cs b/ENI2/Excel/DakosyUtil.cs index f3f6b81f..76ed248e 100644 --- a/ENI2/Excel/DakosyUtil.cs +++ b/ENI2/Excel/DakosyUtil.cs @@ -743,21 +743,21 @@ namespace ENI2.Excel pas.PassengerIdentityDocumentIssuingState = reader.ReadCellAsText("passenger departure", string.Format("O{0}", i + 16)); pas.PassengerIdentityDocumentExpiryDate = reader.ReadCellAsDateTime("passenger departure", string.Format("P{0}", i + 16)); - if (pas.NotificationPAX ?? false) - { + //if (pas.NotificationPAX ?? false) + //{ pas.EmergencyCare = reader.ReadCellAsText("passenger departure", string.Format("Q{0}", i + 16)); pas.EmergencyContactNumber = reader.ReadCellAsText("passenger departure", string.Format("R{0}", i + 16)); - } + //} - if (pas.NotificationSchengen ?? false) - { + //if (pas.NotificationSchengen ?? false) + //{ pas.PassengerIdentityDocumentType = ParseDocumentType(reader.ReadCellAsText("passenger departure", string.Format("I{0}", i + 16))); pas.PassengerIdentityDocumentId = reader.ReadCellAsText("passenger departure", string.Format("J{0}", i + 16)); pas.PassengerVisaNumber = reader.ReadCellAsText("passenger departure", string.Format("K{0}", i + 16)); pas.PassengerPortOfEmbarkation = reader.ReadCellAsText("passenger departure", string.Format("L{0}", i + 16)); pas.PassengerPortOfDisembarkation = reader.ReadCellAsText("passenger departure", string.Format("M{0}", i + 16)); pas.PassengerInTransit = reader.ReadCellAsBool("passenger departure", string.Format("N{0}", i + 16)); - } + //} result = true; }