bitovians / pto

PTO Policy + Freshbooks integration
https://bitovians.github.io/pto/
0 stars 1 forks source link

Allow Managers / Directors to see stats for their whole team #53

Open christopherjbaker opened 6 months ago

christopherjbaker commented 6 months ago

The current logic pulls every time entry for the current user. This results in thousands of records for some, and causes the API to fail if you do this over multiple people. If there was a way to look up the user's start date, we could limit those requests to only the PTO service_id and request the whole company at once.