Zeiterfassungs Update
* neue Migration für Personaladministration (Aktive Verrechnung) * Verrechnung Anpassungen Black P. * superexpertEnabled Implementation Verrechnung/Personaladministration * Personaladministration (Aktive Verrechnung/Zeiterfassung Enddatum)
This commit is contained in:
@@ -114,13 +114,21 @@ class TimerecordingEmployeeController extends mfBaseController
|
||||
$data['holidays'] = trim($r->holidays);
|
||||
$data['plushours'] = $plushours;
|
||||
$data['startdate'] = strtotime($r->startdate);
|
||||
$data['enddate'] = strtotime($r->enddate);
|
||||
$data['type'] = trim($r->type);
|
||||
$data['bmd_active'] = trim($r->bmd_active);
|
||||
$data['overtime'] = $overtime;
|
||||
#
|
||||
|
||||
if (!$data['overtime']) {
|
||||
$data['overtime'] = 0;
|
||||
}
|
||||
if (!$data['bmd_active']) {
|
||||
$data['bmd_active'] = 0;
|
||||
}
|
||||
if (!$data['enddate']) {
|
||||
$data['enddate'] = null;
|
||||
}
|
||||
|
||||
if ($r->birthday) {
|
||||
$data['birthday'] = strtotime($r->birthday);
|
||||
|
||||
Reference in New Issue
Block a user