MH: BewertungsstatistikRO Bugfix
This commit is contained in:
@@ -54,7 +54,7 @@ namespace BeWo.Report.ReportObjects
|
||||
result.EndDay = end;
|
||||
|
||||
// Ist kein Hilfeplan gesetzt und die Listen null, dann wird für ALLE Hilfepläne erstellt
|
||||
if (supportConcept == null && ausgewaehlteZiele == null && scZiele == null)
|
||||
if (supportConcept == null/* && ausgewaehlteZiele == null && scZiele == null*/)
|
||||
{
|
||||
// In diesem Dictionary wird jeder Benotung aus der Verwaltung die vergebene Menge im Zeitraum zugeordnet
|
||||
Dictionary<string, decimal> ratingTypeZuAnzahl = new Dictionary<string, decimal>();
|
||||
@@ -85,6 +85,9 @@ namespace BeWo.Report.ReportObjects
|
||||
// Dann in oben genanntes Dictionary packen, um nach Bewertung zu gruppieren und die Anzahl der vergebenen Bewertung zu zählen
|
||||
foreach (var rating in allGoalRatings)
|
||||
{
|
||||
if (rating.RatingType == null)
|
||||
continue;
|
||||
|
||||
if (!ratingTypeZuAnzahl.ContainsKey(rating.RatingType.DisplayName))
|
||||
ratingTypeZuAnzahl.Add(rating.RatingType.DisplayName, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user