diff --git a/ReportImp/BUGeVReports/BUGeVReports.csproj b/ReportImp/BUGeVReports/BUGeVReports.csproj index 928dceed8..29990c4e1 100644 --- a/ReportImp/BUGeVReports/BUGeVReports.csproj +++ b/ReportImp/BUGeVReports/BUGeVReports.csproj @@ -99,6 +99,7 @@ ServiceInvoiceReport.cs + Component diff --git a/ReportImp/BUGeVReports/Service/CustomVacationService.cs b/ReportImp/BUGeVReports/Service/CustomVacationService.cs new file mode 100644 index 000000000..4f760e2ad --- /dev/null +++ b/ReportImp/BUGeVReports/Service/CustomVacationService.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using BeWo.Service.Plugins; +using BS.Shared.DataContracts; + +namespace BUGeVReports.Service +{ + public class CustomVacationService : VacationService + { + public override List GetFeiertage(int year, string bundesland) + { + var feiertage = base.GetFeiertage(year, bundesland); + + feiertage.Add(new FeiertagDC { Datum = new DateTime(year, 12, 31), Name = "Silvester" }); + + return feiertage; + } + } +}