Purpose: the complete inventory of the Leaves & Absences subsystem — leave policies, entitlements, accrual, perks, balances, holidays and absence tracking. Built inventory-first.

Relationship to Requests: a leave request (raise → approve) runs through the generic Requests engine (leave = request type 1, routed via the Time & Attendance approval category). This module owns the leave domain the request draws on: policies, entitlements, accrual, balances, perks, holidays, and separate absence records. Legend: ✅ documented · 🟡 partial · ⚪ not yet.


Backend

Piece Where
Leave request lifecycle RequestService.cs (13,676 lines — leave is request type 1) — see requests/
Holidays HolidayService.cs (473), Admin/Paid_HolidaysService.cs (209)
Leave-request HRIS sync IntegrationLeaveRequestSynchronizationService.cs

Controllers: leave via Admin/Requests (81) + Employee/Requests (24); holidays via Admin/Paid_Holidays.

Entities (the domain):

Group Entities
Policy LeavePolicy, LeavePolicyItem, LeavePolicyItemPersonContainer, PolicyType, ViewLeavePolicy
Perks LeavePerk, LeavePolicyPerk, EmployeeLeavePerkBalance, ViewLeavePolicyPerk, ViewLeaveRequestPerkDto
Balances EmployeeLeaveBalance, EmployeeLeaveBalanceLog, ViewEmployeeLeaveBalance(Log)
Accrual AccrualType, LeaveRequestTrigger, ViewLeaveRequestTrigger
Holidays PublicHoliday, Paid_Holidays
Absence EmployeeAbsence, EmployeeAbsenceReview, EmployeeAbsenceBatch, ViewEmployeeAbsenceDto
Reliever LeaveRequestRelieveReview

1. Leave policies (entitlement rules)

Area Frontend Backend Doc
Policy CRUD people/requests/policies/leave-policy/** Admin/Requests, LeavePolicy(+Item) ✅ configuration §1
Per-paygrade entitlement policy items LeavePolicyItem (PaygradeId, WorkingDays, AccrualType, WaitingPeriod, Rollover, NoticePeriod) ✅ configuration §1
Targeting policy → paybands/paygrades/custom groups LeavePolicyItemPersonContainer ✅ configuration §1

2. Accrual & entitlement

Area Detail Doc
Accrual type how leave accrues (AccrualTypeId on the policy item — configurable lookup AccrualType) ✅ business §Accrual, configuration §1
Waiting period days before an employee is eligible ✅
Rollover / carry-over HasRolloverLimit, RolloverDays, RolloverDate ✅
Notice period required notice before leave ✅

3. Balances

Area Frontend Backend Doc
Employee balance employee profile / balance report EmployeeLeaveBalance (Current/Starting), EmployeeLeaveBalanceLog (audit) ✅ business §Balances
Leave balance report report/leave-balances (Leave Balance Report) report ✅ how-to §5

4. Perks

Area Backend Doc
Perk catalogue + policy perks + employee perk balances LeavePerk, LeavePolicyPerk, EmployeeLeavePerkBalance ✅ configuration §2

5. Holidays

Area Frontend Backend Doc
Paid / public / federal holidays requests/policies/paid-holidays, federal-holidays HolidayService, Paid_HolidaysService, PublicHoliday ✅ configuration §3

6. Absences