* Update (Geburtstage von Austritten werden nun nicht mehr angezeigt)
This commit is contained in:
Daniel Spitzer
2024-11-11 11:44:54 +01:00
parent ef2a2edf42
commit 857403bbc2

View File

@@ -648,6 +648,10 @@ endforeach;
$Byear = date("Y", $timerecordingemployee->birthday);
for ($i = 0; $i < 5; $i++) :
$age = $year - $Byear;
if ($timerecordingemployee->enddate && $timerecordingemployee->enddate < time()) {
continue;
}
?>
birthdays.push({
id: <?= $counter ?>,