Feature: Set the leave contingent of a single employee
Description
HR sets the contingent of one employee for a leave type with put
(PUT /, body amount and optional year), lists the
overrides of a type with list and removes one with delete
(query year). The amount replaces that of the type in the unit of the type; an amount for a year wins over one for
every year, and 0 takes the contingent away from the person. Only a type with a contingent accepts an override. The table
leave_ is new.
Impact
Without overrides everybody keeps the amount of the type. The counting of requests, the preview and
get read the override.