diff --git a/ReportImp/PerspektivenEV/CustomReportCreator.cs b/ReportImp/PerspektivenEV/CustomReportCreator.cs index 74ba72a5d..7578a3c41 100644 --- a/ReportImp/PerspektivenEV/CustomReportCreator.cs +++ b/ReportImp/PerspektivenEV/CustomReportCreator.cs @@ -60,7 +60,6 @@ namespace PerspektivenEV { invoice = invoices.Where(i => i.InvoiceBase.RecipientOrganisation == "Landeswohlfahrtsverband Hessen" && i.InvoiceBase.InvoiceId == "SammelrechnungBthg").OrderByDescending(b => b.InvoiceBase.Oid).Skip(1).FirstOrDefault(); - } if (invoice != null) { @@ -99,7 +98,7 @@ namespace PerspektivenEV anhang.CreateDocument(); //invoiceReport = anhang; - return anhang as XtraReport; + return anhang; } public override XtraReport CreateServiceInvoiceReport(string dcIds, long? invoiceBaseOid) @@ -114,7 +113,6 @@ namespace PerspektivenEV { var dcList = new List(); - var dcidStrs = dcIds.Split(';'); foreach (var oidStr in dcidStrs) @@ -149,7 +147,6 @@ namespace PerspektivenEV var seite1 = new ServiceInvoiceReport(); var ro = ServiceInvoiceRO.Create(iDC); - seite1.SetReportDataSource(ro); seite1.CreateDocument(); diff --git a/ReportImp/PerspektivenEV/Invoicing/CollectiveInvoiceCreationBthg.cs b/ReportImp/PerspektivenEV/Invoicing/CollectiveInvoiceCreationBthg.cs index 046042335..42d2e7c7a 100644 --- a/ReportImp/PerspektivenEV/Invoicing/CollectiveInvoiceCreationBthg.cs +++ b/ReportImp/PerspektivenEV/Invoicing/CollectiveInvoiceCreationBthg.cs @@ -435,7 +435,7 @@ namespace PerspektivenEV.Invoicing } else if (approvedBEPerInterval == null || approvedBEPerInterval.Value < 84) { - lg = 93; + lg = 90; } else if (approvedBEPerInterval.Value < 106) {