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