From 7efa78f29eb1283b5fcaf12a0b1be31c29509255 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Thu, 7 Mar 2024 08:34:50 +0100 Subject: [PATCH] fixed schengen flag for Dakosy PAS --- ENI2/Excel/DakosyUtil.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ENI2/Excel/DakosyUtil.cs b/ENI2/Excel/DakosyUtil.cs index e3738214..181a7968 100644 --- a/ENI2/Excel/DakosyUtil.cs +++ b/ENI2/Excel/DakosyUtil.cs @@ -734,7 +734,7 @@ namespace ENI2.Excel // if there is time we should do the solution suggested in this question // https://stackoverflow.com/questions/46752911/how-to-read-comboboxes-value-from-excel-using-c-sharp - pas.NotificationSchengen = reader.ReadCellAsBool("passenger departure", "C10"); + pas.NotificationSchengen = true; pas.NotificationPAX = reader.ReadCellAsBool("passenger departure", "C11") ?? false; pas.PassengerLastName = lastName; @@ -778,7 +778,7 @@ namespace ENI2.Excel #endregion - #region PAS + #region PASA private static bool ScanPASA(Message pasMessage, ExcelReader reader) { @@ -796,7 +796,7 @@ namespace ENI2.Excel pasMessage.Elements.Add(pas); } - pas.NotificationSchengen = reader.ReadCellAsBool("passenger arrival", "C10"); + pas.NotificationSchengen = true; pas.NotificationPAX = reader.ReadCellAsBool("passenger arrival", "C11") ?? false; pas.PassengerLastName = lastName;