| @@ 3125-3135 (lines=11) @@ | ||
| 3122 | header("Location: ". absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
| 3123 | exit; |
|
| 3124 | } |
|
| 3125 | elseif ($id) |
|
| 3126 | { |
|
| 3127 | // modification d'une demande, retour liste des demandes |
|
| 3128 | if (bab_pp('ide')) { |
|
| 3129 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_requests&ide='.bab_pp('ide')); |
|
| 3130 | exit; |
|
| 3131 | } |
|
| 3132 | ||
| 3133 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3134 | exit; |
|
| 3135 | } |
|
| 3136 | else |
|
| 3137 | { |
|
| 3138 | // creation d'une demande, retour a la liste des agents |
|
| @@ 3136-3146 (lines=11) @@ | ||
| 3133 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3134 | exit; |
|
| 3135 | } |
|
| 3136 | else |
|
| 3137 | { |
|
| 3138 | // creation d'une demande, retour a la liste des agents |
|
| 3139 | if (bab_pp('ide')) { |
|
| 3140 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_members&ide='.bab_pp('ide')); |
|
| 3141 | exit; |
|
| 3142 | } |
|
| 3143 | ||
| 3144 | header("Location: ". absences_addon()->getUrl()."vacadm&idx=lper"); |
|
| 3145 | exit; |
|
| 3146 | } |
|
| 3147 | } |
|
| 3148 | break; |
|
| 3149 | ||