| @@ 3205-3215 (lines=11) @@ | ||
| 3202 | header("Location: ". absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
| 3203 | exit; |
|
| 3204 | } |
|
| 3205 | elseif ($id) |
|
| 3206 | { |
|
| 3207 | // modification d'une demande, retour liste des demandes |
|
| 3208 | if (bab_pp('ide')) { |
|
| 3209 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_requests&ide='.bab_pp('ide')); |
|
| 3210 | exit; |
|
| 3211 | } |
|
| 3212 | ||
| 3213 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3214 | exit; |
|
| 3215 | } |
|
| 3216 | else |
|
| 3217 | { |
|
| 3218 | // creation d'une demande, retour a la liste des agents |
|
| @@ 3216-3226 (lines=11) @@ | ||
| 3213 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3214 | exit; |
|
| 3215 | } |
|
| 3216 | else |
|
| 3217 | { |
|
| 3218 | // creation d'une demande, retour a la liste des agents |
|
| 3219 | if (bab_pp('ide')) { |
|
| 3220 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_members&ide='.bab_pp('ide')); |
|
| 3221 | exit; |
|
| 3222 | } |
|
| 3223 | ||
| 3224 | header("Location: ". absences_addon()->getUrl()."vacadm&idx=lper"); |
|
| 3225 | exit; |
|
| 3226 | } |
|
| 3227 | } |
|
| 3228 | break; |
|
| 3229 | ||