From 845da704b0d1d1fb0fcbfee080cb6472ea4be821 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Tue, 30 Jul 2024 09:01:20 +0200 Subject: [PATCH] =?UTF-8?q?MH:=20Stunden=C3=BCbersicht=20Bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Plugins/StundenuebersichtAuswertung.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Service/Plugins/StundenuebersichtAuswertung.cs b/Service/Plugins/StundenuebersichtAuswertung.cs index 0e6102cba..da706c2e9 100644 --- a/Service/Plugins/StundenuebersichtAuswertung.cs +++ b/Service/Plugins/StundenuebersichtAuswertung.cs @@ -106,6 +106,12 @@ namespace BeWo.Service.Plugins // cont = false; //} + // Wenn nur für eine bestimmte Mitarbeitende erstellt wird muss geprüft werden, ob im SR eine Beteiligung vorliegt + if (config.EmployeeOid != null && sr.EmployeeOid != config.EmployeeOid) + { + cont = false; + } + if (cont && sr.SupportConcept != null && sr.SupportConcept.IsActive == ActivationTypeId.Deleted) { cont = false;