> ## 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.

# Contract Dashboard

> Overview dashboard for the contract portfolio showing stats, contracts expiring within 90 days, and recently active contracts.

This screen provides a summary overview of the organization's contract portfolio at route `/gr/contracts/dashboard`.

## Overview

The Contract Dashboard shows a header with **View All Contracts** and **New Contract** buttons (New Contract only shown if the user has `gr.contracts.create` permission). Below the header, `ContractStatsWidget` displays aggregate contract statistics. A two-column grid shows `ContractExpirationWidget` (contracts expiring within 90 days, up to 5) and an Active Contracts list (from `useActiveContracts`). Each active contract shows its name, type badge, status badge, and a link to its detail page. A **View All** button navigates to `/gr/contracts`.

## Who it's for

Requires permission `gr.contracts.view`.

## Before you start

* You must have the `gr.contracts.view` permission.
* Contract records with status and expiry dates must exist.

## Steps

<Steps>
  <Step title="Open the Contract Dashboard">Navigate to `/gr/contracts/dashboard`.</Step>
  <Step title="Review contract stats">Check the `ContractStatsWidget` for aggregate counts by status.</Step>
  <Step title="Check expiring contracts">Review the expiration widget for contracts expiring within 90 days.</Step>
  <Step title="Review active contracts">Check the Active Contracts list for currently active contracts.</Step>
  <Step title="Create a new contract">If you have `gr.contracts.create`, click **New Contract** to launch the contract creation wizard.</Step>
</Steps>

## Key concepts

* **ContractExpirationWidget** — shows contracts with expiry dates within the configured `days` window (90 days).
* **Active contracts** — contracts with status `active` from `useActiveContracts`.

## Related

<Columns cols={2}>
  <Card title="Governance & Compliance" icon="scale-balanced" href="/gr/overview">
    Governance & Compliance core overview.
  </Card>

  <Card title="Governance & parity" icon="clipboard-check" href="/governance/index">
    Documentation coverage and governance.
  </Card>
</Columns>

<Note>
  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.
</Note>

<Accordion title="Documentation sources">
  * src/routes/gr.tsx
  * src/cores/gr/pages/ContractDashboard.tsx
  * src/cores/gr/hooks/useContractList.ts
  * src/cores/gr/hooks/useContractStats.ts
</Accordion>
