Skip to main content

Timesheet Management

Timesheets aggregate tracked time into structured reports that can be submitted, reviewed, and approved.

Overview

The timesheet system provides:

  • Automatic aggregation — Time logs are grouped into daily/weekly timesheets
  • Submission workflow — Team members submit timesheets for review
  • Approval process — Managers review and approve submitted timesheets
  • Export — Export timesheets for payroll or billing

Timesheet Structure

FieldDescription
PeriodDate range (daily, weekly, bi-weekly, monthly)
EmployeeTeam member who tracked time
Total hoursAggregated tracked time
TasksTasks worked on during the period
ProjectsProjects associated with time entries
StatusDraft, Submitted, Approved, Rejected

Workflow

States

StatusDescription
DraftTime entries being accumulated, not yet submitted
SubmittedSubmitted for review
ApprovedApproved by manager
RejectedRejected with feedback, needs revision

Views

Employee View

  • View your own timesheets
  • Submit timesheets for approval
  • See approval status and feedback

Manager View

  • Review submitted timesheets from team members
  • Approve or reject with comments
  • View team-wide timesheet status

Filters

FilterOptions
Date rangeCustom date range, this week, last week, this month
Team memberFilter by specific members
ProjectFilter by project
StatusDraft, Submitted, Approved, Rejected
HookPurpose
useTimesheetTimesheet data and operations
useTimesheetFiltersTimesheet filtering
useTimesheetViewDataView-specific data
useTimesheetPaginationPaginated timesheet data
RouteMethodsPurpose
/api/timesheetGET, POSTList and create timesheets
/api/timesheet/[action]POSTSubmit, approve, reject timesheets
/api/timesheet/countGETTimesheet count statistics