Zeiterfassung neues Feature:

* bei only-admin benutzer werden die Überstunden nun ignoriert
This commit is contained in:
Daniel Spitzer
2025-03-10 15:51:19 +01:00
parent e6131cda88
commit e57a9a0eed

View File

@@ -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'];