diff --git a/ENI2/Excel/ExcelUtil.cs b/ENI2/Excel/ExcelUtil.cs index 27390a99..c40bf8be 100644 --- a/ENI2/Excel/ExcelUtil.cs +++ b/ENI2/Excel/ExcelUtil.cs @@ -1421,10 +1421,10 @@ namespace ENI2.Excel int i = 1; foreach (LastTenPortFacilitiesCalled ltpfc in sec.LastTenPortFacilitesCalled) { - if (!(mdh.GetSublistElementWithIdentifier((i + 1).ToString()) is PortOfCallLast30Days poc30d)) + if (!(mdh.GetSublistElementWithIdentifier((i).ToString()) is PortOfCallLast30Days poc30d)) { poc30d = new PortOfCallLast30Days(); - poc30d.Identifier = (i + 1).ToString(); + poc30d.Identifier = (i).ToString(); poc30d.MDH = mdh; mdh.PortOfCallLast30Days.Add(poc30d); } diff --git a/ENI2/SheetDisplayControls/PortControl.xaml b/ENI2/SheetDisplayControls/PortControl.xaml index 5c675422..d5101c92 100644 --- a/ENI2/SheetDisplayControls/PortControl.xaml +++ b/ENI2/SheetDisplayControls/PortControl.xaml @@ -95,7 +95,7 @@ - + @@ -133,14 +133,11 @@ - + - + + @@ -150,18 +147,23 @@ - - + + - -