@@ 3463-3469 (lines=7) @@ | ||
3460 | ||
3461 | } else { |
|
3462 | ||
3463 | if ($agent->isManager() && 'lvreq' === $idx) |
|
3464 | { |
|
3465 | // manager only |
|
3466 | $url = new bab_url; |
|
3467 | $url->tg = 'addon/absences/vacadm'; |
|
3468 | $url->location(); |
|
3469 | } |
|
3470 | ||
3471 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
3472 | { |
|
@@ 3471-3477 (lines=7) @@ | ||
3468 | $url->location(); |
|
3469 | } |
|
3470 | ||
3471 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
3472 | { |
|
3473 | // delegated manager only |
|
3474 | $url = new bab_url; |
|
3475 | $url->tg = 'addon/absences/vacchart'; |
|
3476 | $url->location(); |
|
3477 | } |
|
3478 | } |
|
3479 | ||
3480 | if( $agent->isManager()) |