Feature: Grant leave as a quota every period
Description
A leave policy may grant periodic: quota every week (from a weekday), month (from a day
1 to 28 or last) or every (counted from the employment start), valid for the period. At the end of a
period the unused rest expires and as much as period allows (none, capped, unlimited) is
carried into the next period; prorate shares a first period begun before the hire by calendar days.
The run kind periodic books each period under its own key and catches missed periods up one by one. For the
statutory vacation type the quotas of a year reach at least the statutory minimum.
Impact
The migration adds six quota columns to leave_. The daily runs book periodic quotas before expiries, and
year-end carry-over and entitlement recalculation leave periodic policies alone.