From d775848a792b6c6afc6bb21600a33ce2ff7f9c3a Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 4 May 2026 00:01:23 +0200 Subject: [PATCH] Div. Bugfixes --- Service/Plugins/StundenuebersichtAuswertung.cs | 13 ++++++++----- Service/Plugins/TranslationDictionary.cs | 5 +++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Service/Plugins/StundenuebersichtAuswertung.cs b/Service/Plugins/StundenuebersichtAuswertung.cs index f60e3f029..c88e5cc3e 100644 --- a/Service/Plugins/StundenuebersichtAuswertung.cs +++ b/Service/Plugins/StundenuebersichtAuswertung.cs @@ -931,15 +931,18 @@ namespace BeWo.Service.Plugins return true; } - foreach (var v2o in sr.ValueList) + if (sr.ValueList != null) { - if (v2o.Entry.Type == ValueListEntryType.SupportConceptGoalType || v2o.Entry.Type == ValueListEntryType.SupportConceptGoalCategoryType || v2o.Entry.Type == ValueListEntryType.SupportConceptIndividualGoalType || v2o.Entry.Type == ValueListEntryType.SupportConceptIndividualGoalCategoryType) + foreach (var v2o in sr.ValueList) { - foreach (var oid in goalOids) + if (v2o.Entry.Type == ValueListEntryType.SupportConceptGoalType || v2o.Entry.Type == ValueListEntryType.SupportConceptGoalCategoryType || v2o.Entry.Type == ValueListEntryType.SupportConceptIndividualGoalType || v2o.Entry.Type == ValueListEntryType.SupportConceptIndividualGoalCategoryType) { - if (v2o.Entry.Oid.Value == oid) + foreach (var oid in goalOids) { - return true; + if (v2o.Entry.Oid.Value == oid) + { + return true; + } } } } diff --git a/Service/Plugins/TranslationDictionary.cs b/Service/Plugins/TranslationDictionary.cs index e03f4afb7..8784ffc10 100644 --- a/Service/Plugins/TranslationDictionary.cs +++ b/Service/Plugins/TranslationDictionary.cs @@ -145,6 +145,11 @@ namespace BeWo.Service.Plugins AddOrReplaceTranslation(dict, "Module_DisplayName_Wohnhilfe", "Wohnhilfe"); + + + //Hilfe Urls + //AddOrReplaceTranslation(dict, "EndgueltigLoeschenHilfeUrl", "https://hilfe.bewoplaner.de/"); + return dict; }