Skip to main content

Function: deleteFacilityContract()

deleteFacilityContract(input): Promise<{ error?: string; ok: boolean; }>

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

Admin: delete a saved contract record. The PDF is intentionally LEFT in storage (other contract rows may reference the same file, and keeping the document is the safer default).

Parameters​

input​

contractId​

string

facilityId​

string

Returns​

Promise<{ error?: string; ok: boolean; }>