From 2492f6852743c9cc90ba3947c94c16da3fe24f3b Mon Sep 17 00:00:00 2001 From: ma0068 Date: Mon, 4 Apr 2022 14:02:17 +0200 Subject: [PATCH] Erweiterung TypZeitsperre um Mutterschutz --- cis/private/profile/zeitsperre_resturlaub.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cis/private/profile/zeitsperre_resturlaub.php b/cis/private/profile/zeitsperre_resturlaub.php index aba828241..4c16ab0d1 100644 --- a/cis/private/profile/zeitsperre_resturlaub.php +++ b/cis/private/profile/zeitsperre_resturlaub.php @@ -45,7 +45,7 @@ $uid = get_uid(); $PHP_SELF = $_SERVER['PHP_SELF']; -$typen_arr = array("Urlaub", "PflegeU", "ZA", "Krank", "DienstF", "DienstV", "CovidSB", "CovidKS"); +$typen_arr = array("Urlaub", "PflegeU", "ZA", "Krank", "DienstF", "DienstV", "CovidSB", "CovidKS","Mutter"); if(isset($_GET['type'])) $type=$_GET['type']; @@ -312,7 +312,8 @@ function showHideStudeDropDown() || dd.options[dd.selectedIndex].value == 'DienstF' || dd.options[dd.selectedIndex].value == 'DienstV' || dd.options[dd.selectedIndex].value == 'CovidSB' - || dd.options[dd.selectedIndex].value == 'CovidKS') + || dd.options[dd.selectedIndex].value == 'CovidKS' + || dd.options[dd.selectedIndex].value == 'Mutter') { document.getElementById('vonStd').style.visibility = 'hidden'; document.getElementById('bisStd').style.visibility = 'hidden';