fixed schengen flag for Dakosy PAS
This commit is contained in:
parent
b2af44895b
commit
7efa78f29e
@ -734,7 +734,7 @@ namespace ENI2.Excel
|
|||||||
// if there is time we should do the solution suggested in this question
|
// 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
|
// 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.NotificationPAX = reader.ReadCellAsBool("passenger departure", "C11") ?? false;
|
||||||
|
|
||||||
pas.PassengerLastName = lastName;
|
pas.PassengerLastName = lastName;
|
||||||
@ -778,7 +778,7 @@ namespace ENI2.Excel
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region PAS
|
#region PASA
|
||||||
|
|
||||||
private static bool ScanPASA(Message pasMessage, ExcelReader reader)
|
private static bool ScanPASA(Message pasMessage, ExcelReader reader)
|
||||||
{
|
{
|
||||||
@ -796,7 +796,7 @@ namespace ENI2.Excel
|
|||||||
pasMessage.Elements.Add(pas);
|
pasMessage.Elements.Add(pas);
|
||||||
}
|
}
|
||||||
|
|
||||||
pas.NotificationSchengen = reader.ReadCellAsBool("passenger arrival", "C10");
|
pas.NotificationSchengen = true;
|
||||||
pas.NotificationPAX = reader.ReadCellAsBool("passenger arrival", "C11") ?? false;
|
pas.NotificationPAX = reader.ReadCellAsBool("passenger arrival", "C11") ?? false;
|
||||||
|
|
||||||
pas.PassengerLastName = lastName;
|
pas.PassengerLastName = lastName;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user