Zeiterfassung Feature Updates

* Reports wurde um Soll/Ist Detail Auswertung erweitert Bugfix Arbeitszeitverschiebung
This commit is contained in:
Daniel Spitzer
2026-02-13 09:39:18 +01:00
parent 0241d5842b
commit 86bc518663

View File

@@ -110,11 +110,6 @@ class TimerecordingReportExportController extends mfBaseController
if (!isset($istPerDay[$day])) $istPerDay[$day] = 0; if (!isset($istPerDay[$day])) $istPerDay[$day] = 0;
$seconds = $tr->end - $tr->start; $seconds = $tr->end - $tr->start;
$istPerDay[$day] += $seconds; $istPerDay[$day] += $seconds;
} else if ($cat->hourday == 10) {
$day = date('Y-m-d', $tr->start);
if (!isset($istPerDay[$day])) $istPerDay[$day] = 0;
$seconds = $tr->end - $tr->start;
$istPerDay[$day] -= $seconds;
} else if ($cat->hourday == 2 || $cat->hourday == 3) { } else if ($cat->hourday == 2 || $cat->hourday == 3) {
$calcstart = max($tr->start, $month_start); $calcstart = max($tr->start, $month_start);
$calcend = $tr->end ? min($tr->end, $month_end) : min(time(), $month_end); $calcend = $tr->end ? min($tr->end, $month_end) : min(time(), $month_end);