Bugfix Berechnung der Sollwerte für Soll/Ist Report

This commit is contained in:
2026-01-30 19:25:10 +01:00
parent 50dd6b620a
commit c35a7d020d

View File

@@ -182,6 +182,13 @@ namespace BeWo.Report.ReportObjects
}
}
foreach (var ws in grpRo.WochenSummen)
{
if (!ws.SollStunden.HasValue)
{
ws.SollStunden = root.SollFLSPerWeek;
}
}
grpRo.IstGesamt = grpRo.IstGesamt / 60;
rootRo.IstGesamt += grpRo.IstGesamt;
rootRo.SollGesamt = grpRo.WochenSummen.Sum(w => w.SollStunden) ?? 0;