Feature: Request deadlines 

Description 

HR defines how early leave has to be requested under Administration > Request deadlines: a number of days ahead of every request, or a day of the year by which the leave of that year is requested, each for requests of a minimum length, refusing late requests or having the manager, the head of the department or HR approve them as well. Every deadline covering a request is checked, and a waiting request again when its approval completes.

Impact 

New operations listRequestDeadlines, createRequestDeadline, getRequestDeadline, updateRequestDeadline and deleteRequestDeadline for HR, and the tables request_deadline and request_deadline_scope. The violation code requestDeadline and the system reason requestDeadlineAtApproval are new.