MH: Stundenübersicht Bugfix

This commit is contained in:
2024-07-30 09:01:20 +02:00
parent eccdc3fd1f
commit 845da704b0

View File

@@ -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;