Skip to main content

Function: sumHours()

sumHours(hours): number

Defined in: src/lib/leave/index.ts:9

Pure helpers for leave & holiday accounting (no I/O).

Holidays apply to in-house admins only and draw down an annual cap that resets Jan 1. Unpaid leave does not reduce expected hours (the pay engine already ignores it) — it's tracked for visibility/approval only.

Parameters

hours

number[]

Returns

number