MH: Suchthilfe Wuppertal Silvester

This commit is contained in:
2025-01-02 10:57:30 +01:00
parent 667e7d2215
commit 303e371e5e
4 changed files with 26 additions and 0 deletions

View File

@@ -125,6 +125,7 @@
<Compile Include="ServicesOverviewReport.Designer.cs">
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
</Compile>
<Compile Include="Service\CustomVacationService.cs" />
<Compile Include="Service\FfEmployeeService.cs" />
<Compile Include="Service\FfCustomerService.cs" />
<Compile Include="Service\FfStundenuebersichtAuswertung.cs" />

View File

@@ -0,0 +1,25 @@
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 FreundeskreisSuchthilfe.Service
{
public class CustomVacationService : VacationService
{
public override List<FeiertagDC> GetFeiertage(int year, string bundesland)
{
var list = base.GetFeiertage(year, bundesland);
if (year >= 2024)
{
list.Add(new FeiertagDC() { Datum = new DateTime(year, 12, 31), Name = "Silvester" });
}
return list;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB