From e57a9a0eed78f1276157939a8bc306c157299691 Mon Sep 17 00:00:00 2001 From: Daniel Spitzer Date: Mon, 10 Mar 2025 15:51:19 +0100 Subject: [PATCH] =?UTF-8?q?Zeiterfassung=20neues=20Feature:=20*=20bei=20on?= =?UTF-8?q?ly-admin=20benutzer=20werden=20die=20=C3=9Cberstunden=20nun=20i?= =?UTF-8?q?gnoriert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TimerecordingReport/TimerecordingReportController.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/application/TimerecordingReport/TimerecordingReportController.php b/application/TimerecordingReport/TimerecordingReportController.php index ee53f8ac6..75bfec538 100644 --- a/application/TimerecordingReport/TimerecordingReportController.php +++ b/application/TimerecordingReport/TimerecordingReportController.php @@ -778,7 +778,14 @@ class TimerecordingReportController extends mfBaseController } else { $overtimes = $this->checkOvertime($timerecording); $isSecondscleanarray[$timerecording->timerecordingCategory->short] = $isSecondscleanarray[$timerecording->timerecordingCategory->short] - $overtimes['sum']; + if ($employee->only_admin!=1) + { + + } + else + { $isSeconds = $isSeconds - $overtimes['sum']; + } $O100pfl = $O100pfl + $overtimes['O100pfl']; $O100free = $O100free + $overtimes['O100free']; $O50free = $O50free + $overtimes['O50free'];