| @@ 3436-3442 (lines=7) @@ | ||
| 3433 | ||
| 3434 | } else { |
|
| 3435 | ||
| 3436 | if ($agent->isManager() && 'lvreq' === $idx) |
|
| 3437 | { |
|
| 3438 | // manager only |
|
| 3439 | $url = new bab_url; |
|
| 3440 | $url->tg = 'addon/absences/vacadm'; |
|
| 3441 | $url->location(); |
|
| 3442 | } |
|
| 3443 | ||
| 3444 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
| 3445 | { |
|
| @@ 3444-3450 (lines=7) @@ | ||
| 3441 | $url->location(); |
|
| 3442 | } |
|
| 3443 | ||
| 3444 | if ($agent->isEntityManager() && 'lvreq' === $idx) |
|
| 3445 | { |
|
| 3446 | // delegated manager only |
|
| 3447 | $url = new bab_url; |
|
| 3448 | $url->tg = 'addon/absences/vacchart'; |
|
| 3449 | $url->location(); |
|
| 3450 | } |
|
| 3451 | } |
|
| 3452 | ||
| 3453 | if( $agent->isManager()) |
|