Skip to content
XetuuXetuu

Allocations

Give an employee a number of days of a leave type for a year, and watch the used / remaining balance.

Overview

One confirmed allocation exists per employee, leave type and year. Used days are maintained by the leave workflow — they cannot be typed over on an existing allocation, and an allocation cannot be lowered below the days already used or encashed.

Allocations in the HR module.

When to use allocations

  • A new employee joins, a new leave year starts, or an extra entitlement is granted.

Prerequisites

Step by step

Leave Mgmt → Allocations → New. Choose employee, leave type, year and days. Negative days and duplicates are refused.
Screenshot for this step has not been captured yet — run npm run docs:flow.

Field reference

FieldDescriptionRequiredData typeBusiness meaning
Total daysEntitlement for the year.YesNumber 0–366Balance = total + carried forward − used − encashed.
Carried forwardDays brought from last year.NoNumber ≥ 0Added to the balance.

Permissions

These permission keys control access (granted to roles in Administration → Roles & Permissions):

  • hr.leave.read
  • hr.leave.update