| @@ 3111-3121 (lines=11) @@ | ||
| 3108 | header("Location: ". absences_addon()->getUrl()."vacuser&idx=lvreq"); |
|
| 3109 | exit; |
|
| 3110 | } |
|
| 3111 | elseif ($id) |
|
| 3112 | { |
|
| 3113 | // modification d'une demande, retour liste des demandes |
|
| 3114 | if (bab_pp('ide')) { |
|
| 3115 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_requests&ide='.bab_pp('ide')); |
|
| 3116 | exit; |
|
| 3117 | } |
|
| 3118 | ||
| 3119 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3120 | exit; |
|
| 3121 | } |
|
| 3122 | else |
|
| 3123 | { |
|
| 3124 | // creation d'une demande, retour a la liste des agents |
|
| @@ 3122-3132 (lines=11) @@ | ||
| 3119 | header("Location: ". absences_addon()->getUrl()."vacadmb&idx=lreq"); |
|
| 3120 | exit; |
|
| 3121 | } |
|
| 3122 | else |
|
| 3123 | { |
|
| 3124 | // creation d'une demande, retour a la liste des agents |
|
| 3125 | if (bab_pp('ide')) { |
|
| 3126 | header("Location: ". absences_addon()->getUrl().'vacchart&idx=entity_members&ide='.bab_pp('ide')); |
|
| 3127 | exit; |
|
| 3128 | } |
|
| 3129 | ||
| 3130 | header("Location: ". absences_addon()->getUrl()."vacadm&idx=lper"); |
|
| 3131 | exit; |
|
| 3132 | } |
|
| 3133 | } |
|
| 3134 | break; |
|
| 3135 | ||