MH: Endart 24.12. raus

This commit is contained in:
2025-12-17 10:00:33 +01:00
parent 5384a03a4e
commit 5a7afe1aa3
2 changed files with 23 additions and 0 deletions

View File

@@ -82,6 +82,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,22 @@
using BeWo.Service.Plugins;
using BS.Shared.DataContracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EndartFabrik.Service
{
public class CustomVacationService : VacationService
{
public override List<FeiertagDC> GetFeiertage(int year, string bundesland)
{
var list = base.GetFeiertage(year, bundesland);
list.Remove(list.FirstOrDefault(l => l.Name == "Heilig Abend"));
return list;
}
}
}