Phat0101 / Roster

https://class-connect-wrv3.vercel.app
0 stars 0 forks source link

idea: blocking out a staff member who is on long leave stint #7

Closed alfski closed 3 months ago

alfski commented 4 months ago

I think it would be good to have a way of dropping people off the roster when they've booked long stints of leave eg. a multi-month secondment, or long-service leave which can be for months at a time.

Now you have the date-range ability for holidays, being able to have leave easily for specific staff is do'able. Say, if I was having all of June away, a "staffleave.txt" file might look like:

alf,3/6/2024 - 28/6/2024

When the staff member is being added to a roster day the generate script would also check that it's a day that DOESN'T appear in the individual leave control file.