The Edit Contract screen allows updating an existing vendor contract and is accessible atDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/it/contracts/:id/edit.
Overview
The Edit Contract page loads the existing contract viauseVendorContract and the vendor list via useVendors. Both are required before the form renders. The form is displayed in a card using the shared ContractForm component, which accepts the existing contract data and the vendor list as props. Fields include: vendor (select from vendor list), contract name, contract type, status, start date, optional expiration date, optional renewal date, auto-renew toggle, optional contract value, optional payment terms, optional description, and optional document URL. On save, updateContract is called and the user is redirected to the contract detail page.
Who it’s for
RequiresIT_PERMISSIONS.VIEW (outer ITViewGuard). No additional per-route permission gate.
Before you start
- You must hold
IT_PERMISSIONS.VIEWto access this screen. - Both the contract and vendor list must load successfully before the form appears.
Steps
Update contract fields
In the
ContractForm, modify vendor, name, type, status, dates, financial terms, and description as needed.Save changes
Click the save action in the form. On success, you are redirected to the contract detail page.
Key concepts
- ContractForm — Shared component used for both creating and editing contracts.
- auto_renew — Boolean toggle stored on the contract record.
- contract_value — Optional monetary value; stored as a number and formatted as currency in the detail view.
- document_url — Optional URL to an external contract document.
Related
IT Service Management
IT Service Management overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/it.tsx
- src/cores/it/pages/vendors/EditContractPage.tsx