- timeslot type can now be changed by booker and not by owner
- added optional account name to job object for getTeam function (returned are only jobs there)
- continued on getTeam function in JobService. Returned is a stdClass with fields leader, team and subordinates (team are the jobs of the members under the same teamleader as you and subordinates are members with you as teamleader)
!! This solution is still not save! If your team leader has more then one leadership position you will see his other subordinates as well! Solution might be to check team name. As a team leader though you are part of two teams and there are no fields to handle that in the database yet!
- now leader is also loaded for getTeam