PhoenixBeWo/Service/CustomVacationService.cs - Entfall von Heiligabend als Feiertag

This commit is contained in:
2024-10-28 16:12:32 +01:00
parent 75df11ee8e
commit 7d9e71b3f9
2 changed files with 22 additions and 0 deletions

View File

@@ -75,6 +75,7 @@
<Compile Include="ServiceInvoiceReport.Designer.cs">
<DependentUpon>ServiceInvoiceReport.cs</DependentUpon>
</Compile>
<Compile Include="Service\CustomVacationService.cs" />
<Compile Include="SettlementReport2.cs">
<SubType>Component</SubType>
</Compile>

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using BeWo.Service.Core;
using BeWo.Service.Plugins;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using Utils = BS.Shared.Core.Utils;
namespace PhoenixBeWo.Service
{
public class CustomVacationService : VacationService
{
public override List<DateTime> GetFeiertage(int year)
{
var list = base.GetFeiertage(year);
list.Remove(new DateTime(year, 12, 24));
return list;
}
}
}