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 Cost Reports page shows compensation costs aggregated by department or by individual employee with an Export CSV option. It is available at route /hr/compensation/cost-reports.

Overview

The page offers two Group By options — Department and Employee. When grouped by Department, a headcount column is included. When grouped by Employee, a Department Filter dropdown appears. Four summary stat cards show Total Headcount, Total Base Salary, Total Benefits, and Total Compensation. The data table columns are: Name, (Headcount for department view), Base Salary, Benefits, Bonuses, Retirement, Total Cost. The Export CSV button downloads a .csv file named compensation-cost-report-<groupBy>-<date>.csv.

Who it’s for

No explicit permission gate on this route. Any authenticated user who can reach /hr/compensation/cost-reports will see the page.

Before you start

  • Compensation data must be populated for the organization.
  • Department records must exist if filtering by department when grouped by Employee.

Steps

1

Open Cost Reports

Navigate to HR → Compensation → Cost Reports or go to /hr/compensation/cost-reports.
2

Select Group By

Choose Department to see aggregated costs per department with headcount, or Employee to see individual-level cost rows.
3

Apply Department Filter (Employee view only)

When grouped by Employee, use the Department Filter dropdown to scope results to a specific department.
4

Review summary cards

The four stat cards at the top show organization-level totals.
5

Export to CSV

Click Export CSV to download the current view as a comma-separated file.

Key concepts

  • Group By — Controls both the table structure (headcount column, department vs. employee name) and the CSV export column layout.

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.
  • src/routes/hr.tsx
  • src/cores/hr/compensation/pages/CompensationCostReportsPage.tsx
  • src/cores/hr/compensation/hooks/useCompensationCostReport.ts