| @@ 3161-3171 (lines=11) @@ | ||
| 3158 | header("Location: ". absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
| 3159 | exit; |
|
| 3160 | } |
|
| 3161 | elseif ($id) |
|
| 3162 | { |
|
| 3163 | // modification d'une demande, retour liste des demandes |
|
| 3164 | if (bab_pp('ide')) { |
|
| 3165 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_requests&ide='.bab_pp('ide')); |
|
| 3166 | exit; |
|
| 3167 | } |
|
| 3168 | ||
| 3169 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3170 | exit; |
|
| 3171 | } |
|
| 3172 | else |
|
| 3173 | { |
|
| 3174 | // creation d'une demande, retour a la liste des agents |
|
| @@ 3172-3182 (lines=11) @@ | ||
| 3169 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3170 | exit; |
|
| 3171 | } |
|
| 3172 | else |
|
| 3173 | { |
|
| 3174 | // creation d'une demande, retour a la liste des agents |
|
| 3175 | if (bab_pp('ide')) { |
|
| 3176 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_members&ide='.bab_pp('ide')); |
|
| 3177 | exit; |
|
| 3178 | } |
|
| 3179 | ||
| 3180 | header("Location: ". absences_addon()->getUrl()."vacadm&idx=lper"); |
|
| 3181 | exit; |
|
| 3182 | } |
|
| 3183 | } |
|
| 3184 | break; |
|
| 3185 | ||