From 995bc42b0870f3d93ea4dfd26a853342195aa237 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Mon, 11 Dec 2023 17:06:32 +0100 Subject: [PATCH] MH: Diakonie Lennep FK --- ReportImp/DiakonieLennepReports/SettlementReport2.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ReportImp/DiakonieLennepReports/SettlementReport2.cs b/ReportImp/DiakonieLennepReports/SettlementReport2.cs index d8bf72a76..acd7b0812 100644 --- a/ReportImp/DiakonieLennepReports/SettlementReport2.cs +++ b/ReportImp/DiakonieLennepReports/SettlementReport2.cs @@ -18,7 +18,15 @@ namespace BeWo.DiakonieLennepReports public void SetReportDataSource(Settlement2RO pRO) { - + + foreach (var ii in pRO.InvoiceItems) + { + if (ii.ItemDescription != null && ii.ItemDescription.ToLower().Contains("fehlkontakt")) + { + ii.AbrechnungsText = ii.AbrechnungsText.Split(':')[0] + ": " + string.Format("{0:0.##}", ii.UnitCount) + " " + "FLS" + " x 0,8 x " + string.Format("{0:c}", ii.AmountPerUnit.Value / 0.8m); + } + } + if (pRO.Claim >= 0) { //lblEndText.Text =