Absence
People
Leave balances that can always explain themselves: every day off is priced from the person's own working week and recorded, never overwritten.
About this module
Absence keeps every leave balance as a ledger: each accrual, each day taken, each carry-over and each expiry is a dated line that is never edited. A balance is the sum of those lines, so the balance on any past day can be read back, and a correction is a cancelling line on the original date rather than a silent change. Each day of leave is priced from the person's own working week and the public holidays of their work calendar: a Friday they never work costs nothing, a half day costs half of that day. Carried-over days are used before they expire, and an expiry only removes what is left.
Events contract
This module neither publishes nor consumes domain events.
Permissions introduced
hr-leave-types:createCreate leave typeshr-leave-types:readView leave typeshr-leave-types:updateEdit leave typeshr-leave-types:soft_deleteMove leave types to the trashhr-leave-types:hard_deleteDelete leave types permanentlyhr-leave-types:restoreRestore leave types from the trashhr-leave-types:exportExport leave typeshr-leave-policies:createCreate leave policieshr-leave-policies:readView leave policieshr-leave-policies:updateEdit leave policieshr-leave-policies:soft_deleteMove leave policies to the trashhr-leave-policies:hard_deleteDelete leave policies permanentlyhr-leave-policies:restoreRestore leave policies from the trashhr-leave-policies:exportExport leave policieshr-holiday-calendars:createCreate holiday calendarshr-holiday-calendars:readView holiday calendarshr-holiday-calendars:updateEdit holiday calendarshr-holiday-calendars:soft_deleteMove holiday calendars to the trashhr-holiday-calendars:hard_deleteDelete holiday calendars permanentlyhr-holiday-calendars:restoreRestore holiday calendars from the trashhr-holiday-calendars:exportExport holiday calendarshr-leave-ledger-entries:readView the leave ledgerhr-leave-buckets:readView leave bucketshr-leave-request-days:readView recorded leave days