.. include:: /Includes.rst.txt .. _feature-1791638697: ================================================================ Feature: Country packages add statutory leave to the entitlement ================================================================ Description =========== When an employee's entitlement of a leave type for a year is calculated, leave raises the event ``EntitlementCalculated``. A listener of a country package adds days or hours a law grants beyond the policy, such as extra days for a severe disability, with a reason and whether they are statutory. Grants, accruals and the breakdown include them; the breakdown lists them under ``adjustments``, and the balances screen names them where it explains the entitlement. Impact ====== The entitlement breakdown (``getEmployeeLeaveEntitlement``) has the new field ``adjustments``, empty without a country package that adds anything. .. index:: API, Backend, package:adsum-leave