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 Leave Request page, at route /hr/leave-request, provides a step-by-step wizard for employees to submit time-off requests.

Overview

The wizard is rendered by ModuleWizardRenderer using a seeded template. It supports Save and Exit (draft persistence) and a Submit Request action. On successful submission, the user is redirected to /hr/my-leave-balances. The wizard collects leave type, start date, end date, duration in hours, an optional reason, and an optional FMLA case linkage. The legacy path /hr/leave/request redirects here automatically.

Who it’s for

Requires HR_PERMISSIONS.LEAVE_CREATE.

Before you start

  • Active leave policies must exist for the leave type dropdown to populate.
  • If linking to an FMLA case, the case must already exist at /hr/fmla-cases.

Steps

  1. Go to HR → Leave Request (or select Request Time Off from the My Leave Balances page).
  2. Follow the wizard steps: select leave type, choose dates, enter duration, add an optional reason.
  3. Optionally link the request to an FMLA case.
  4. Select Submit Request to route the request to your manager for approval.
  5. Use Save and Exit to save a draft and return later.

Key concepts

ConceptMeaning
Draft persistenceThe wizard saves progress so you can resume before submitting.
FMLA case linkageOptionally associates the request with an active FMLA case (SME: confirm validation rules).

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/pages/LeaveRequestWizardPage.tsx
  • src/cores/hr/hooks/leave/useLeaveRequestMutation.ts
  • src/platform/wizards/components/ModuleWizardRenderer.tsx