phpreport
phpreport copied to clipboard
Block task edition before hour compensation date
trafficstars
The hour compensations feature resets some user's extra hours in a certain date, for example, reset extra hours to 0 in Dec, 31st due to payment of extra hours at the end of the year. Any changes the user does before the compensation date, for example, adding a new task with 2 hours in Dec. 30th, won't reflect in the accumulated hours account starting in Dec, 31st, which can lead to misunderstandings or errors.
It would be better to completely forbid edition of tasks before the compensation date. In our previous example, editions in Dec, 31st or before would be locked unless the compensation entry is removed.