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 Team Timesheet Details page allows a manager to review a specific employee’s timesheet and approve or reject it. It is served at route /hr/team-timesheets/:id.

Overview

The page loads timesheet data via useTimesheetDetail(id) using the :id path parameter. Time entries render as TimesheetEntryRow components. A reject form with a Textarea is shown when the manager selects reject; approval and rejection actions are backed by useTimesheetApproval. The employee’s name, initials, and avatar are derived from timesheet.employee.profile. Permission: HR_PERMISSIONS.TIMESHEETS_TEAM_VIEW (hr.timesheets.team.view) — RequirePermission guard in hr.tsx.

Who it’s for

Permission: hr.timesheets.team.view — required by RequirePermission guard in hr.tsx.

Before you start

  • Navigate from the Team Timesheets list at /hr/team-timesheets.
  • The timesheet must be in submitted status before approval or rejection is available.

Steps

  1. From /hr/team-timesheets, click a timesheet row to open the detail page.
  2. Review time entries in the entries table.
  3. Approve: Click Approve to approve the timesheet.
  4. Reject: Click Reject, enter a rejection reason in the text area, and confirm.

Key concepts

TermMeaning
TimesheetEntryRowRow component displaying a single time entry (date, clock-in/out, hours, exceptions).
Rejection reasonText entered by the manager when rejecting; sent to the employee. SME: confirm whether required.

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/TeamTimesheetDetail.tsx
  • src/cores/hr/hooks/time/useTimesheetDetail.ts
  • src/cores/hr/hooks/time/useTimesheetApproval.ts