.. include:: /Includes.rst.txt .. _feature-1791014990: ====================== Feature: Request leave ====================== Description =========== Employees request leave under :guilabel:`My time > Leave requests`; while they choose the type and the days, adsum shows every day with what it counts, the balance afterwards and anything in the way. The charge comes from the working-day calendar alone: days off, public holidays and holiday halves count nothing, and an hour-based policy counts the hours of each day. A request is decided by the approval rules; a type that needs no approval is approved at once. On approval the balance is checked again and the days are booked; employees withdraw pending requests and are told the outcome. Managers find their team's requests under :guilabel:`Team > Leave requests`. Approved leave lowers the targets of the attendance days, whichever comes first. Time off in lieu reads the balance and lower limit of the working-time account through a new core port. The API offers ``listLeaveRequests``, ``createLeaveRequest``, ``previewLeaveRequest``, ``getLeaveRequest``, ``withdrawLeaveRequest`` and ``replaceLeaveRequest``; ``leave.approved`` and ``leave.rejected`` are new notifications. Impact ====== Five new tables and two new entries in the navigation. .. index:: API, Database, Frontend, package:adsum-leave, package:adsum-core, package:adsum-working-time, package:adsum-attendance