PraxisPusteblume/CustomReportCreator - Korrektur Zuordnung QBs nach Umbenunngen Kostenträger (dererseits)

This commit is contained in:
2026-02-18 16:38:24 +01:00
parent 22d3089feb
commit 53218e227e

View File

@@ -75,7 +75,7 @@ namespace PraxisPusteblume
{
if (s.IsBillable)
{
if (s.ServiceCategory.StartsWith("IFS - "))
if (s.ServiceCategory.ToLower().StartsWith("ifs "))
{
//if (s.CostBearer.Contains("Bezirk Oberbayern - IFS"))
//{
@@ -89,7 +89,7 @@ namespace PraxisPusteblume
//{
// ifsEingangsdiagnostikRo.Services.Add(s);
//}
if (s.CostBearer.Contains("Bezirk Oberbayern - IFS"))
if (s.CostBearer.Contains("- IFS"))
{
if (!s.ServiceDescription.ToLower().Contains("offenes beratungsangebot"))
@@ -163,7 +163,6 @@ namespace PraxisPusteblume
{
report = new T();
((T)report).SetReportDataSource(ro);
}
else
{
@@ -174,13 +173,11 @@ namespace PraxisPusteblume
XtraReport newReport = new T();
((T)newReport).SetReportDataSource(ro);
newReport.CreateDocument();
report.Pages.AddRange(newReport.Pages);
}
}
return report;
}
}
}