| @@ 3369-3375 (lines=7) @@ | ||
| 3366 | ||
| 3367 | } else { |
|
| 3368 | ||
| 3369 | if ($agent->isManager() && 'lvreq' === $idx) |
|
| 3370 | { |
|
| 3371 | // manager only |
|
| 3372 | $url = new bab_url; |
|
| 3373 | $url->tg = 'addon/absences/vacadm'; |
|
| 3374 | $url->location(); |
|
| 3375 | } |
|
| 3376 | ||
| 3377 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
| 3378 | { |
|
| @@ 3377-3383 (lines=7) @@ | ||
| 3374 | $url->location(); |
|
| 3375 | } |
|
| 3376 | ||
| 3377 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
| 3378 | { |
|
| 3379 | // delegated manager only |
|
| 3380 | $url = new bab_url; |
|
| 3381 | $url->tg = 'addon/absences/vacchart'; |
|
| 3382 | $url->location(); |
|
| 3383 | } |
|
| 3384 | } |
|
| 3385 | ||
| 3386 | if( $agent->isManager()) |
|