From f0e0a553b300c3bca44f0d0444b087b71e60953a Mon Sep 17 00:00:00 2001 From: HirschleM Date: Wed, 8 Jul 2026 09:55:34 +0200 Subject: [PATCH] =?UTF-8?q?MH:=20TranskulturellesBetreuungsbuero=20Bugfix?= =?UTF-8?q?=20Stunden=C3=BCbersicht=20SupportOID=3D167440?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomReportCreator.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/ReportImp/TranskulturellesBetreuungsbuero/CustomReportCreator.cs b/ReportImp/TranskulturellesBetreuungsbuero/CustomReportCreator.cs index 4c6199bb0..e24f88e6c 100644 --- a/ReportImp/TranskulturellesBetreuungsbuero/CustomReportCreator.cs +++ b/ReportImp/TranskulturellesBetreuungsbuero/CustomReportCreator.cs @@ -214,7 +214,7 @@ namespace TranskulturellesBetreuungsbuero if (emp.Employee2CustomerList != null && emp.Employee2CustomerList.Count > 0) { var e2cList = emp.Employee2CustomerList.Where(e => e.CustomerOid == sr.CustomerOid).ToList(); - + bool hatZuordnung = false; if (e2cList != null) { foreach (var e2c in e2cList) @@ -241,13 +241,20 @@ namespace TranskulturellesBetreuungsbuero detail.CustomValue2 = "X"; summeVertretungsFlsInMin += sr.RoundedDuration; } - + hatZuordnung = true; } } } } } - } + + if (!hatZuordnung) + { + detail.CustomValue2 = "X"; + summeVertretungsFlsInMin += sr.RoundedDuration; + } + + } } } }