Audience: PMs, UX, Support. Companion: how-to.md, business.md.
| Persona | Goal |
|---|---|
| Ada — Employee | Take time off without losing pay unexpectedly |
| Chka — HR Admin | Set fair entitlements and keep balances correct |
| Femi — Finance | Know the leave liability |
flowchart LR
P[Admin creates leave policy<br/>days/accrual/rollover per paygrade] --> B[Employees get a balance]
B --> R[Ada requests leave<br/>policy + dates + reliever]
R --> A[Approval chain<br/>Time & Attendance category]
A --> D[Approved → balance deducted<br/>holidays excluded]
D --> PAY[Unpaid? → payroll pro-rates]
EmployeeLeaveBalance.Balances build up per the accrual type (granted up-front vs earned monthly). At the period boundary, rollover carries unused days forward up to the limit; the excess is forfeited. Chka watches the balance log for anomalies and runs the Leave Balance Report (with liability total for Femi) to see accrued-but-unused leave as a cost.
An absence is recorded (or imported in a batch), reviewed (Approved/Declined), and — if it represents non-worked time — reduces DaysWorked so payroll pays correctly. Distinct from a planned leave request.
| Touches | See |
|---|---|
| Requests (raise/approve leave) | requests/ |
| Payroll (paid/unpaid, absences, perks) | payroll/ |
| People (per-paygrade entitlement, per-person balance) | people/ |
| Time & Attendance (timesheet absences) | (planned) |