fixed schengen flag for Dakosy PAS

This commit is contained in:
Daniel Schick 2024-03-07 08:34:50 +01:00
parent b2af44895b
commit 7efa78f29e

View File

@ -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;