Skip to content

[Feature] 'Timesheets' | Manager should be able to approve the time entries that in "Pending Approval" status #3040

@ariefgp

Description

@ariefgp

Description

Related Document: Document 1

All time entries waiting for a manager's approval will have a grace period of 1 week, before they get automatically approved by the system.

  • During the period, the manager can review time entries and approve/reject them. Any remaining entries after the grace period should move from "Pending Approval" to "Approved".

  • For example, if the current week is from August 5, 2024, to August 11, 2024, then all entries from the previous week (July 29, 2024 - August 4, 2024) which are in the “Pending Approval” status will be auto-approved on August 12 at 12:00 AM once the grace period of 1 week is over.

  • Manager should receive a reminder 24 hours before the grace period elapses.

Requirements

  1. Develop a user interface for managers to review pending time entries.

  2. Implement functionality for individual and bulk approval of time entries.

  3. Create a mechanism for rejecting entries with comment.

UI

Ever Gauzy Teams – Figma - Google Chrome 2024-10-21 at 7 56 59 PM

Acceptance Criteria

  • Managers can access a dedicated page or section showing all time entries in "Pending Approval" status for their team members.
  • Managers can approve individual time entries by clicking an "Approve" button in each entry.
  • Managers can select multiple entries and approve them in bulk by selecting multiple entries.
  • When rejecting an entry, managers must provide a comment.
  • Rejected entries immediately change status to "Rejected" and trigger a notification to the respective team member.
  • Approved entries immediately change status from "Pending Approval" to "Approved".
  • The interface updates in real-time to reflect any status changes made during the review process.

Technical

  • We don't have API for this yet. I think existing timesheet feature doesn't have "Approval" and "Reject" API. We need to develop the API.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions