Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

Use this file to discover all available pages before exploring further.

The Edit Contract screen allows updating an existing vendor contract and is accessible at /it/contracts/:id/edit.

Overview

The Edit Contract page loads the existing contract via useVendorContract 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

Requires IT_PERMISSIONS.VIEW (outer ITViewGuard). No additional per-route permission gate.

Before you start

  • You must hold IT_PERMISSIONS.VIEW to access this screen.
  • Both the contract and vendor list must load successfully before the form appears.

Steps

1

Open the edit form

From the contract detail page, click Edit.
2

Update contract fields

In the ContractForm, modify vendor, name, type, status, dates, financial terms, and description as needed.
3

Save changes

Click the save action in the form. On success, you are redirected to the contract detail page.
4

Cancel

Click Cancel to return to the contract detail page without saving.

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.

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.
  • src/routes/it.tsx
  • src/cores/it/pages/vendors/EditContractPage.tsx