Skip to main content

Variable: STRANDED_ENTRY_STATUSES

const STRANDED_ENTRY_STATUSES: readonly ["submitted", "approved"]

Defined in: src/server/services/strandedHours.ts:21

Statuses a stranded (late, unpaid) entry can hold. Close locks draft/submitted/approved on every paid assignment (close_and_lock_payroll_batch, 0041), so a submitted/approved entry still inside a closed pay period arrived AFTER the run closed — no future run reads it, so it is payable-but-never-paid. pending_approval is deliberately excluded: pre-close ones were already paid at the contracted cap, and post-close ones must clear the overage gate first (approval flips them to approved, which lands them here). draft is not payable at all.