From 444109176297fa40c02eb24e2b479e511d829b68 Mon Sep 17 00:00:00 2001 From: HirschleM Date: Wed, 5 Feb 2025 11:39:12 +0100 Subject: [PATCH] MH: BeWo Auxilio Ritter ReportCreator --- .../BeWoAuxilioRitter/CustomReportCreator.cs | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/ReportImp/BeWoAuxilioRitter/CustomReportCreator.cs b/ReportImp/BeWoAuxilioRitter/CustomReportCreator.cs index e24416d88..2bb310624 100644 --- a/ReportImp/BeWoAuxilioRitter/CustomReportCreator.cs +++ b/ReportImp/BeWoAuxilioRitter/CustomReportCreator.cs @@ -181,5 +181,24 @@ namespace BeWoAuxilioRitter return report as XtraReport; } - } + + public override XtraReport CreateSupportConceptReport(IList c2sOids, long? employeeOid, long? teamOid, long? catOid, int? expiredMonths, bool archivedSupportConcepts, DateTime? startDate, DateTime? endDate) + { + //if (!startDate.HasValue && !endDate.HasValue) + // { + var lSupportConceptReport = new Hilfeplanuebersicht(); + lSupportConceptReport.SetReportDataSource(SupportConceptListRO.Create(c2sOids, employeeOid, teamOid, catOid, expiredMonths, archivedSupportConcepts, startDate, endDate)); + + return lSupportConceptReport as XtraReport; + //} + // Bis die falschen Werte von CB behoben wurden vorübergehend einen alternativen Report erstellen, wenn Datumsabfragen gemacht werden, wo bestimmte Felder ausgeblendet sind + //else + // { + // var lSupportConceptReport = new SupportConceptReportReduziert(); + // lSupportConceptReport.SetReportDataSource(SupportConceptListRO.Create(c2sOids, employeeOid, teamOid, catOid, expiredMonths, archivedSupportConcepts, startDate, endDate)); + + // return lSupportConceptReport as XtraReport; + //} + } + } }