Zeiterfassung

* Feature Implementation Arbeitszeitänderungen mit History für alle möglichen historischen Berechnungen und Auswertung fertigstellung
This commit is contained in:
Daniel Spitzer
2025-02-08 20:56:29 +01:00
parent c38a9919b6
commit 6ed34fe676
3 changed files with 197 additions and 1 deletions

View File

@@ -245,6 +245,8 @@ class TimerecordingEmployeeController extends mfBaseController
} else if ($mode = "add") {
$this->layout()->setFlash("Personaladministration erfolgreich angelegt", "success");
}
$employee = new TimerecordingController();
$employee->updatePlushours($r->user_id);
$this->redirect("TimerecordingEmployee");
}
@@ -281,6 +283,8 @@ class TimerecordingEmployeeController extends mfBaseController
$result[$value->enddate]['workingtime'] = $secondcounter;
$result[$value->enddate]['id'] = $value->id;
}
$employee = new TimerecordingController();
$employee->updatePlushours($userid);
return $result;
}