Variable: CLOSED_BATCH_STATUSES
constCLOSED_BATCH_STATUSES: readonly ["prepared","funded","closed"]
Defined in: src/lib/pay/settlement.ts:43
Batch statuses meaning "this period's pay run already went out" (same set as the manual-entry disposition flow's isClosed, ADR-0038). The ONE home — query filters, the calculate/process pages, and stranded-hours detection all share it.