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 Grievance page provides a form for updating an existing grievance record. It is available at route /hr/employee-relations/grievances/:id/edit.

Overview

The route renders GrievanceFormPage in edit mode (because the id param is present). The existing record is fetched via useGrievanceDetail. On submit, updateMutation is called and the user is redirected to the grievance detail page. The form normalizes grievance_type and status values against known valid sets before submitting. Valid grievance types from code: harassment, discrimination, retaliation, wage_dispute, working_conditions, policy_violation, other. Valid statuses: filed, under_review, under_investigation, resolved, dismissed, escalated.

Who it’s for

No explicit permission gate on the route. Component-level permission checks apply for write actions.

Before you start

  • Navigate from a grievance detail page at /hr/employee-relations/grievances/:id.

Steps

1

Open the edit form

From a grievance detail page, click the edit action. You land on /hr/employee-relations/grievances/:id/edit.
2

Modify fields

Update type, status, description, or other fields.
3

Save changes

Submit the form. On success, you are redirected to the detail page.

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/employee-relations-routes.tsx
  • src/cores/hr/employee-relations/pages/GrievanceFormPage.tsx
  • src/cores/hr/employee-relations/hooks/useGrievanceMutation.ts