Zeiterfassung update

This commit is contained in:
Spitzer Daniel
2024-02-12 10:55:03 +01:00
parent e57889ee6c
commit 808551c04f
9 changed files with 147 additions and 27 deletions
@@ -106,6 +106,7 @@ class TimerecordingEmployeeController extends mfBaseController
$data['user_id'] = trim($r->user_id);
$data['auto_workinghours'] = trim($r->auto_workinghours);
$data['holidays'] = trim($r->holidays);
$data['businesstrip'] = trim($r->businesstrip);
$data['plushours'] = $plushours;
$data['startdate'] = strtotime($r->startdate);
@@ -118,7 +119,6 @@ class TimerecordingEmployeeController extends mfBaseController
$data['auto_workinghours'] = 0;
}
if ($mode == "edit") {
$timerecordingemployees->update($data);