phpreport
phpreport copied to clipboard
Script to transform unused holiday hours into extra hours
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.