diff --git a/ReportImp/PerspektivenEV/Invoicing/CollectiveInvoiceCreationBthg.cs b/ReportImp/PerspektivenEV/Invoicing/CollectiveInvoiceCreationBthg.cs index 4ed6a31dd..465c985b0 100644 --- a/ReportImp/PerspektivenEV/Invoicing/CollectiveInvoiceCreationBthg.cs +++ b/ReportImp/PerspektivenEV/Invoicing/CollectiveInvoiceCreationBthg.cs @@ -232,14 +232,14 @@ namespace PerspektivenEV.Invoicing } else { - if (start > new DateTime(2023, 12, 31) && (cb2sc.CostBearer.Organisation.Name.Contains("Landeswohlfahrtsverband Hessen") || cb2sc.CostBearer.Organisation.Name.Contains("LWV"))) - { - ii.AmountPerUnit = (decimal)Math.Round(LG * (decimal)Math.Truncate((double)data[0].AmountTotal / 60 * 10000) / 10000, 2, MidpointRounding.AwayFromZero); - } - else - { + //if (start > new DateTime(2023, 12, 31) && (cb2sc.CostBearer.Organisation.Name.Contains("Landeswohlfahrtsverband Hessen") || cb2sc.CostBearer.Organisation.Name.Contains("LWV"))) + //{ + // ii.AmountPerUnit = (decimal)Math.Round(LG * (decimal)Math.Truncate((double)data[0].AmountTotal / 60 * 10000) / 10000, 2, MidpointRounding.AwayFromZero); + //} + //else + //{ ii.AmountPerUnit = (decimal)Math.Round((double)data[0].AmountTotal * Math.Round((double)LG / 60, 2, MidpointRounding.AwayFromZero), 2, MidpointRounding.AwayFromZero); - } + //} } // Leistung if (cat.Abbreviation.Substring(cat.Abbreviation.Length - 2) == "QA" || cat.Abbreviation.Substring(cat.Abbreviation.Length - 5) == "QAAlt")