Feature: Allocate leave to many employees at once
Description
HR allocates days of a type with a balance to up to 500 employees with create
(POST /), on Team > Extra days: the quantity in days or in seconds, an
optional end of validity and a reason. Mode book books an allocation entry per employee at once with the
batch as source; mode request files an allocation request per employee for their approvers. Every employee is
checked like a single allocation, and a failure (own, eligibility.<kind>, unit) is
reported for that employee without stopping the others. The operation takes an Idempotency-.
Impact
The new table leave_ keeps every batch with the outcome per employee. Ledger entries of a batch
have the source allocation.