Zeiterfassung Feature Jobrad
* Implementation * Migration
This commit is contained in:
@@ -123,6 +123,7 @@ class TimerecordingEmployeeController extends mfBaseController
|
||||
$data = [];
|
||||
$data['user_id'] = trim($r->user_id);
|
||||
$data['auto_workinghours'] = trim($r->auto_workinghours);
|
||||
$data['jobbike'] = trim($r->jobbike);
|
||||
$data['holidays'] = trim($r->holidays);
|
||||
$data['plushours'] = $plushours;
|
||||
$data['startdate'] = strtotime($r->startdate);
|
||||
@@ -172,6 +173,9 @@ class TimerecordingEmployeeController extends mfBaseController
|
||||
if (!$data['auto_workinghours']) {
|
||||
$data['auto_workinghours'] = 0;
|
||||
}
|
||||
if (!$data['jobbike']) {
|
||||
$data['jobbike'] = 0;
|
||||
}
|
||||
|
||||
if ($mode == "edit") {
|
||||
$timerecordingemployees->update($data);
|
||||
|
||||
Reference in New Issue
Block a user