Skip to main content

Interface: ClosedBatchSnapshot

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

What a closed batch knew when it priced: its snapshot instant and which assignments it priced.

Properties​

createdAt​

createdAt: string

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

The batch row's created_at — prepare_payroll_draft inserts the batch and its payments in one statement, so this is the exact instant pricing was frozen.


pricedAssignmentIds​

pricedAssignmentIds: readonly string[] | null

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

priced_assignment_ids (0089) — the run's REAL priced scope. Null on pre-0089 batches.