Kalender
* Update (Geburtstage von Austritten werden nun nicht mehr angezeigt)
This commit is contained in:
@@ -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 ?>,
|
||||
|
||||
Reference in New Issue
Block a user