From fbf595ffd48d0e3889fbd93a1166d6ef7ca9d331 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Wed, 4 Feb 2026 09:48:30 +0100 Subject: [PATCH] WASExemptions stored for special check regarding individual vessels and ports --- ENI2/Controls/WASExemptionsControl.xaml | 68 +++++- ENI2/Controls/WASExemptionsControl.xaml.cs | 227 ++++++++++++++++++++- ENI2/DetailRootControl.xaml.cs | 36 +++- ENI2/ENI2.csproj | 5 +- ENI2/Excel/ExcelLocalImportHelper.cs | 76 +++++++ ENI2/Util/ExpiryStateConverter.cs | 43 ++++ ENI2/Util/RequiredDateValidationRule.cs | 28 +++ ENI2/Util/RequiredStringValidationRule.cs | 22 ++ SQL/Update_To_7.2.15.sql | 3 +- bsmd.database/DBManagerAsync.cs | 9 + bsmd.database/WASExemption.cs | 64 +++++- 11 files changed, 556 insertions(+), 25 deletions(-) create mode 100644 ENI2/Util/ExpiryStateConverter.cs create mode 100644 ENI2/Util/RequiredDateValidationRule.cs create mode 100644 ENI2/Util/RequiredStringValidationRule.cs diff --git a/ENI2/Controls/WASExemptionsControl.xaml b/ENI2/Controls/WASExemptionsControl.xaml index 103ccb1b..a54e2877 100644 --- a/ENI2/Controls/WASExemptionsControl.xaml +++ b/ENI2/Controls/WASExemptionsControl.xaml @@ -4,6 +4,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:ENI2.Controls" + xmlns:util="clr-namespace:ENI2.Util" xmlns:p="clr-namespace:ENI2.Properties" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"> @@ -28,13 +29,15 @@ - + + - - +