The Statement Details page displays the full contents of a single total compensation statement, including a compensation breakdown chart and individual component cards. It is served at routeDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/hr/compensation/statements/:id.
Overview
The page loads statement data viauseTotalCompensationStatementDetail using the :id path parameter. It renders component cards for each compensation category with formatted currency values and percentage-of-total figures, a CompensationBreakdownChart, a status badge, and a PDF download button backed by useCompensationStatementPdf.
This page is part of the HR-15 Compensation Management feature.
Who it’s for
No explicit permission gate on this route. Access control is expected to be enforced via the statements list page and RLS at the database level.Before you start
- A total compensation statement must be created before it can be viewed.
- PDF generation requires the statement to have data; empty statements may not produce a valid PDF.
Steps
- Navigate to HR > Compensation > Statements and click a statement row, or navigate directly to
/hr/compensation/statements/:id. - Review the Compensation Breakdown Chart for a visual distribution of compensation components.
- Examine individual component cards (each shows amount and percentage of total).
- Check the status badge to confirm the statement’s current state.
- Click the Download PDF button to export the statement.
Key concepts
| Term | Meaning |
|---|---|
| Total compensation | Combined value of all compensation components included in the statement. SME: confirm component definitions. |
| Statement status | Lifecycle status of the statement (e.g., draft, finalized). SME: confirm valid statuses. |
| Compensation breakdown chart | Pie/bar visualization of component percentages rendered by CompensationBreakdownChart. |
Related
Human Resources
Human Resources core overview.
Governance & parity
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/hr.tsx
- src/cores/hr/compensation/pages/CompensationStatementDetailPage.tsx
- src/cores/hr/compensation/hooks/useTotalCompensationStatementDetail.ts
- src/cores/hr/compensation/hooks/useCompensationStatementPdf.ts