MH: Mobile Silvester
This commit is contained in:
@@ -87,6 +87,7 @@
|
||||
<DependentUpon>Sammelrechnung.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Service\CustomSaveInterceptor.cs" />
|
||||
<Compile Include="Service\CustomVacationService.cs" />
|
||||
<Compile Include="TaetigkeitsnachweisAbSept2023.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
|
||||
23
ReportImp/MobileEV/Service/CustomVacationService.cs
Normal file
23
ReportImp/MobileEV/Service/CustomVacationService.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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 MobileEV.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user