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