Skip to main content

Function: updateFacilityContract()

updateFacilityContract(input): Promise<ConfirmContractState>

Defined in: src/server/actions/facilities.ts:714

Admin: edit a SAVED contract's terms (the editable summary). Recomputes the per-service rates and the primary-service scalars, and stamps edited_at so the UI can mark the summary as manually edited.

Parameters​

input​

contractId​

string

facilityId​

string

terms​

infer

Returns​

Promise<ConfirmContractState>