diff --git a/ReportImp/PraxisPusteblume/CustomReportCreator.cs b/ReportImp/PraxisPusteblume/CustomReportCreator.cs index a0e19fdf0..12e16268e 100644 --- a/ReportImp/PraxisPusteblume/CustomReportCreator.cs +++ b/ReportImp/PraxisPusteblume/CustomReportCreator.cs @@ -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; } - } }