| @@ 3419-3425 (lines=7) @@ | ||
| 3416 | ||
| 3417 | } else { |
|
| 3418 | ||
| 3419 | if ($agent->isManager() && 'lvreq' === $idx) |
|
| 3420 | { |
|
| 3421 | // manager only |
|
| 3422 | $url = new bab_url; |
|
| 3423 | $url->tg = 'addon/absences/vacadm'; |
|
| 3424 | $url->location(); |
|
| 3425 | } |
|
| 3426 | ||
| 3427 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
| 3428 | { |
|
| @@ 3427-3433 (lines=7) @@ | ||
| 3424 | $url->location(); |
|
| 3425 | } |
|
| 3426 | ||
| 3427 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
| 3428 | { |
|
| 3429 | // delegated manager only |
|
| 3430 | $url = new bab_url; |
|
| 3431 | $url->tg = 'addon/absences/vacchart'; |
|
| 3432 | $url->location(); |
|
| 3433 | } |
|
| 3434 | } |
|
| 3435 | ||
| 3436 | if( $agent->isManager()) |
|