Zeiterfassung
* Personaladmistration um Feld SV-Nummer erweitert
This commit is contained in:
@@ -204,9 +204,11 @@ class TimerecordingEmployeeController extends mfBaseController
|
||||
if (!$data['overtime']) {
|
||||
$data['overtime'] = 0;
|
||||
}
|
||||
|
||||
if (!$data['bmd_active']) {
|
||||
$data['bmd_active'] = 0;
|
||||
}
|
||||
|
||||
if (!$data['enddate']) {
|
||||
$data['enddate'] = null;
|
||||
}
|
||||
@@ -216,6 +218,13 @@ class TimerecordingEmployeeController extends mfBaseController
|
||||
} else {
|
||||
$data['birthday'] = null;
|
||||
}
|
||||
if ($r->insurance_number) {
|
||||
$data['insurance_number'] = $r->insurance_number;
|
||||
} else {
|
||||
$data['insurance_number'] = null;
|
||||
}
|
||||
|
||||
|
||||
if (!$data['user_id']) {
|
||||
$this->layout()->setFlash("Mitarbeiter darf nicht leer sein", "error");
|
||||
$this->redirect("TimerecordingEmployee");
|
||||
|
||||
Reference in New Issue
Block a user