From c6f0e4d61d6abe7ccb36d0641bd89957130f138f Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 8 Oct 2024 15:10:56 +0200 Subject: [PATCH] MalteserJohanniterJohanneshaus - Abwesenheitstabelle --- Report/ReportObjects/AdditionalServiceBookingRO.cs | 12 ++++++++++++ .../CustomReportCreator.cs | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Report/ReportObjects/AdditionalServiceBookingRO.cs b/Report/ReportObjects/AdditionalServiceBookingRO.cs index 0cc82631f..4499e7720 100644 --- a/Report/ReportObjects/AdditionalServiceBookingRO.cs +++ b/Report/ReportObjects/AdditionalServiceBookingRO.cs @@ -249,6 +249,18 @@ namespace BeWo.Report.ReportObjects { SetInfo(dt, row, "U"); } + else if (name.Contains("unentschuldigt")) + { + SetInfo(dt, row, "UE"); + } + else if (name.Contains("entschuldigt")) + { + SetInfo(dt, row, "E"); + } + else if (name.Contains("corona")) + { + SetInfo(dt, row, "C"); + } else //(name.Contains("krank")) { SetInfo(dt, row, "K"); diff --git a/ReportImp/MalteserJohanniterJohanneshaus/CustomReportCreator.cs b/ReportImp/MalteserJohanniterJohanneshaus/CustomReportCreator.cs index e108aec64..52abc44b8 100644 --- a/ReportImp/MalteserJohanniterJohanneshaus/CustomReportCreator.cs +++ b/ReportImp/MalteserJohanniterJohanneshaus/CustomReportCreator.cs @@ -18,7 +18,7 @@ using DevExpress.XtraReports.UI; namespace MalteserJohanniterJohanneshaus { - public class IntegraReportCreator : DefaultReportCreator + public class CustomReportCreator : DefaultReportCreator { public override XtraReport CreateAdditionalServiceBookingReport(long addServiceRegionOid, Monat month, int year) {