AlphaAlpha Docs

Leave Management

Leave types, request statuses, and day-half support for managing employee time off.

The leave management system handles all aspects of employee time off, from requesting leave to tracking balances.

Leave Types

TypeDescription
VACATIONPaid annual leave
SICKSick leave due to illness or medical appointments
PERSONALPersonal days for private matters
PARENTALParental leave for birth, adoption, or childcare
UNPAIDLeave without pay
OTHERAny leave that does not fit the above categories

Request Statuses

stateDiagram-v2
    [*] --> PENDING
    PENDING --> APPROVED : Manager approves
    PENDING --> REJECTED : Manager rejects
    PENDING --> CANCELLED : Employee cancels
    APPROVED --> CANCELLED : Employee cancels
    APPROVED --> [*]
    REJECTED --> [*]
    CANCELLED --> [*]
StatusDescription
PENDINGRequest has been submitted and awaits manager review
APPROVEDManager has approved the leave request
REJECTEDManager has denied the leave request
CANCELLEDEmployee has withdrawn the request

Day Halves

Leave requests support partial-day entries using the day half system:

Day HalfDescription
FULLThe entire day is taken as leave
MORNINGOnly the morning half is leave; the employee works in the afternoon
AFTERNOONOnly the afternoon half is leave; the employee works in the morning

This allows employees to take a half-day off without using a full day from their balance.

Vacation Balance

Each employee has a vacation balance that tracks:

  • Annual entitlement -- Total leave days allocated per year
  • Used -- Days consumed by approved requests
  • Remaining -- Days still available

The balance updates automatically when leave requests are approved or cancelled. Only VACATION type leave deducts from the vacation balance; other leave types (sick, parental, etc.) are tracked separately.

On this page