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

Overview

The route /hr/employee-relations/disciplinary/:id/edit renders DisciplinaryFormPage in edit mode (isEditMode = true, because the id param is present). The existing record is fetched via useDisciplinaryActionDetail. On submit, updateMutation.mutateAsync is called and the user is redirected to the detail page at /hr/employee-relations/disciplinary/:id. The form is rendered by DisciplinaryActionForm.

Who it’s for

No explicit permission gate on this route. Data is scoped to the current organization.

Before you start

  • Navigate from the disciplinary action detail page and click the edit action.

Steps

1

Open the edit form

From a disciplinary detail page at /hr/employee-relations/disciplinary/:id, click Edit. You land on /hr/employee-relations/disciplinary/:id/edit.
2

Modify fields

Update any fields in the form, including action type, status, dates, reason, and follow-up date.
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/DisciplinaryFormPage.tsx
  • src/cores/hr/employee-relations/hooks/useDisciplinaryActionMutation.ts