Function: deleteTimeEntryById()
deleteTimeEntryById(
entryId):Promise<TimeApprovalState>
Defined in: src/server/actions/timeApproval.ts:193
Owner-only: delete a single non-locked, non-invoiced time entry by id (per-row delete on the Time & Activity page). Invoiced entries are protected — deleting billed hours over-bills the facility with no drift backstop (ADR-0050); void + reissue the invoice to remove them.
Parameters
entryId
string
Returns
Promise<TimeApprovalState>