Leave
A leave balance is a ledger — the sum of its history — not a number you
edit directly.
Types and allocations
Define leave types (Vacation, Sick, and so on), each paid or unpaid with an
annual allowance. Allocating days to a person writes a positive ledger entry;
the balance is always allocations minus days taken.
Requests
A person requests a date range. The day count automatically skips weekends and
the public holidays you maintain in the holidays pane, so a request never spends
days the office was closed.
Approval is the ledger entry
Approving a request writes the negative ledger entry in the same moment as the
approval — the balance you see is always correct. A decided request is final;
corrections are new adjustments, which keeps the trail honest.