phpreport icon indicating copy to clipboard operation
phpreport copied to clipboard

Script to transform unused holiday hours into extra hours

Open jaragunde opened this issue 8 years ago • 0 comments

Create a script that would check the number of unused holiday hours for every user and create automatically as many tasks as necessary to consume that amount of unused holiday hours.

The script should probably need to take a date as input. Unused holiday hours would be checked for the year that date belongs, and tasks would be created from that date, backwards. The typical use case would be: php -f consumeHolidayHours.php 31-12-2016.

jaragunde avatar Dec 28 '16 17:12 jaragunde