bitovians / pto

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

Does not take into consideration contractor's or part-time employees #23

Open mjstahl opened 3 years ago

mjstahl commented 3 years ago

is there an employee classification that we can check or some other mechanism where we can say... "This is the point that they should start earning PTO'.

Right now the algorithm we use to determine PTO is using month as the smallest granularity, maybe we should look at hours per month worked, and how much PTO is earned by hour (i.e. 13.333 / number of hours that month).

mjstahl commented 3 years ago

We do not have a "status bit" in freshbooks that indicates when an individual is a contractor or part-timer, and when they are a full-time employees (one that collects benefits).

also, the first month we should pro-rate the number of hours worked. It doesn't have to be exact, we can use X / 160

For people like Luca, that worked part-time for some months and was later full-time. We might need to keep a piece of data around that indicates a different start date than the one that is in Freshbooks.

mjstahl commented 3 years ago

The more secure option may be to add a start date override option to the app.

This should save in local storage (like the API key) that way they don't have to change it every time (it should auto-populate, but still be changeable).