From 89c53c49e4f57b56435ca06fadaa3530ee2d43b8 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Thu, 18 Apr 2024 14:13:11 +0200 Subject: [PATCH] =?UTF-8?q?MH:=20Haus=20D=C3=BClken=20Urlaubskonto=20Verfa?= =?UTF-8?q?llsdatum=20raus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReportImp/HausDuelken/HausDuelken.csproj | 1 + .../Service/CustomVacationService.cs | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 ReportImp/HausDuelken/Service/CustomVacationService.cs diff --git a/ReportImp/HausDuelken/HausDuelken.csproj b/ReportImp/HausDuelken/HausDuelken.csproj index b4f78b6d6..391351066 100644 --- a/ReportImp/HausDuelken/HausDuelken.csproj +++ b/ReportImp/HausDuelken/HausDuelken.csproj @@ -137,6 +137,7 @@ ServiceRecordListReport.cs + Component diff --git a/ReportImp/HausDuelken/Service/CustomVacationService.cs b/ReportImp/HausDuelken/Service/CustomVacationService.cs new file mode 100644 index 000000000..594bd83d1 --- /dev/null +++ b/ReportImp/HausDuelken/Service/CustomVacationService.cs @@ -0,0 +1,17 @@ +using BeWo.Service.Plugins; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace HausDuelken.Service +{ + public class CustomVacationService : VacationService + { + public override DateTime GetExpirationDate(int year) + { + return new DateTime(year, 12, 31); + } + } +}