From c35a7d020da3879798e77bd29f76eda736ea654b Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 30 Jan 2026 19:25:10 +0100 Subject: [PATCH] =?UTF-8?q?Bugfix=20Berechnung=20der=20Sollwerte=20f=C3=BC?= =?UTF-8?q?r=20Soll/Ist=20Report?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Report/ReportObjects/FLSSollIstReportRO.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Report/ReportObjects/FLSSollIstReportRO.cs b/Report/ReportObjects/FLSSollIstReportRO.cs index 8221c51f2..df9794402 100644 --- a/Report/ReportObjects/FLSSollIstReportRO.cs +++ b/Report/ReportObjects/FLSSollIstReportRO.cs @@ -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;