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 Approvals page, at route /hr/leave-approvals, lets managers review and act on leave requests submitted by their team.

Overview

The page has four tabs: Pending (shown with a badge count), Approved, Denied, and All. The Pending tab renders a LeaveApprovalQueue component for manager action. The Approved and Denied tabs display read-only lists showing employee name, policy name, total hours, and status badge. Each approved request also shows calendar sync status. The New Request button opens a dialog to submit a request on behalf of a team member. The legacy path /hr/approvals redirects here.

Who it’s for

Requires HR_PERMISSIONS.LEAVE_APPROVE.

Before you start

  • Leave policies must be configured at /hr/leave-policies.
  • Team members must have submitted leave requests for them to appear in the queue.

Steps

  1. Go to HR → Leave Approvals.
  2. Review the Pending tab for requests awaiting action.
  3. Open the approval queue to approve or deny each request.
  4. Use the Approved, Denied, and All tabs to review historical decisions.
  5. To submit a new request on a team member’s behalf, select New Request.

Key concepts

ConceptMeaning
Approval queueInteractive list of pending requests with approve/deny actions.
Calendar sync statusIndicates whether an approved leave event has been synced to the employee’s calendar.

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/LeaveApprovals.tsx
  • src/cores/hr/components/leave/LeaveApprovalQueue.tsx
  • src/cores/hr/hooks/leave/useLeaveRequests.ts