Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to show info of non direct reports per manager #264 #265 #271

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nitomartinez
Copy link
Contributor

See #264

What is the version of Jorani?

0.6.5

Expected behavior

In the case of more than one level of reporters, allow the top manager to see the vacations of
the different levels (direct and nondirect reports)

Example:

Manager1:

Submanager1:
    collaborator1
    collaborator2
Submanager2:
    collaborator3

The Manager 1 can see the vacations of the direct reports (first level of collaborators), but not lower levels

It would be handy to allow to see in the Approval->My subordinates, or in the Calendars->My subordinates the different levels.

Ideally this could be triggered by a config flag in config.php (in large organization this could be not viable)

//Set this value to TRUE if you want to allow manager to see the collaborators of the collaboratos
//By default only the immediate collaborators (direct reports) are shown
//(beware that it will impact the performance setting this to TRUE)
$config['manager_sees_multiple_level_collaborators'] = FALSE;

Actual behavior

Only one level of the collaborators are shown.

Steps to reproduce the behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant