Zeiterfassung Update
* Nachtzulage wurde in der Personaladministration hinzugefügt * Bei der Verrechnung werden Ü100 wenn Nachtzulage aktiv ist anders bewertet
This commit is contained in:
@@ -167,6 +167,7 @@ class TimerecordingEmployeeController extends mfBaseController
|
||||
$data['user_id'] = trim($r->user_id);
|
||||
$data['auto_workinghours'] = trim($r->auto_workinghours);
|
||||
$data['jobbike'] = trim($r->jobbike);
|
||||
$data['night_allowance'] = trim($r->night_allowance);
|
||||
$data['holidays'] = trim($r->holidays);
|
||||
$data['plushours'] = $plushours;
|
||||
$data['startdate'] = strtotime($r->startdate);
|
||||
@@ -235,6 +236,9 @@ class TimerecordingEmployeeController extends mfBaseController
|
||||
if (!$data['jobbike']) {
|
||||
$data['jobbike'] = 0;
|
||||
}
|
||||
if (!$data['night_allowance']) {
|
||||
$data['night_allowance'] = 0;
|
||||
}
|
||||
|
||||
if ($mode == "edit") {
|
||||
$timerecordingemployees->update($data);
|
||||
|
||||
Reference in New Issue
Block a user