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