Zeiterfassung Update

* Gehnemigte Buchungen können jetzt von der Buchhaltung verändert werden
This commit is contained in:
Daniel Spitzer
2025-11-25 07:58:55 +01:00
parent 8bb4b9b401
commit e117a37b40

View File

@@ -471,7 +471,7 @@ class TimerecordingReportController extends mfBaseController
if ($timerecording->completed == 0):
if ($timerecording->approved == 0) :
if ($timerecording->approved == 0 || $timerecording->approved == 1) :
$ddays = $timerecording->days;
if ($timerecording->timerecordingCategory->hourday == 8) {
$ddays = round($timerecording->hours_bpa / 60 / 60, 2);
@@ -1096,7 +1096,7 @@ class TimerecordingReportController extends mfBaseController
if ($timerecording->completed == 0 && $timerecording->timerecordingCategory->only_admin == 0):
if ($timerecording->approved == 0) :
if ($timerecording->approved == 0 || $timerecording->approved == 1) :
$edit = '<i class="far fa-edit edit-button" data-id="' . $timerecording->id . '"
data-date="' . $datadate . '"
data-category="' . $timerecording->timerecordingCategory->id . '"