| @@ 3178-3188 (lines=11) @@ | ||
| 3175 | header("Location: ". absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
| 3176 | exit; |
|
| 3177 | } |
|
| 3178 | elseif ($id) |
|
| 3179 | { |
|
| 3180 | // modification d'une demande, retour liste des demandes |
|
| 3181 | if (bab_pp('ide')) { |
|
| 3182 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_requests&ide='.bab_pp('ide')); |
|
| 3183 | exit; |
|
| 3184 | } |
|
| 3185 | ||
| 3186 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3187 | exit; |
|
| 3188 | } |
|
| 3189 | else |
|
| 3190 | { |
|
| 3191 | // creation d'une demande, retour a la liste des agents |
|
| @@ 3189-3199 (lines=11) @@ | ||
| 3186 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3187 | exit; |
|
| 3188 | } |
|
| 3189 | else |
|
| 3190 | { |
|
| 3191 | // creation d'une demande, retour a la liste des agents |
|
| 3192 | if (bab_pp('ide')) { |
|
| 3193 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_members&ide='.bab_pp('ide')); |
|
| 3194 | exit; |
|
| 3195 | } |
|
| 3196 | ||
| 3197 | header("Location: ". absences_addon()->getUrl()."vacadm&idx=lper"); |
|
| 3198 | exit; |
|
| 3199 | } |
|
| 3200 | } |
|
| 3201 | break; |
|
| 3202 | ||