| @@ 3383-3389 (lines=7) @@ | ||
| 3380 | ||
| 3381 | } else { |
|
| 3382 | ||
| 3383 | if ($agent->isManager() && 'lvreq' === $idx) |
|
| 3384 | { |
|
| 3385 | // manager only |
|
| 3386 | $url = new bab_url; |
|
| 3387 | $url->tg = 'addon/absences/vacadm'; |
|
| 3388 | $url->location(); |
|
| 3389 | } |
|
| 3390 | ||
| 3391 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
| 3392 | { |
|
| @@ 3391-3397 (lines=7) @@ | ||
| 3388 | $url->location(); |
|
| 3389 | } |
|
| 3390 | ||
| 3391 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
| 3392 | { |
|
| 3393 | // delegated manager only |
|
| 3394 | $url = new bab_url; |
|
| 3395 | $url->tg = 'addon/absences/vacchart'; |
|
| 3396 | $url->location(); |
|
| 3397 | } |
|
| 3398 | } |
|
| 3399 | ||
| 3400 | if( $agent->isManager()) |
|