Skip to main content

Function: findStrandedLateHours()

findStrandedLateHours(client, companyId): Promise<StrandedGroup[]>

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

Find contractor hours that were entered AFTER the pay run that would have paid them closed — payable-but-never-paid (see ADR-0056). Company-scoped on every query. Works with either the service client or an RLS-scoped server client.

Parameters

client

SupabaseClient<Database>

companyId

string

Returns

Promise<StrandedGroup[]>