ever-teams icon indicating copy to clipboard operation
ever-teams copied to clipboard

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

Open ariefgp opened this issue 5 months ago • 0 comments

Description

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.

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.

ariefgp avatar Sep 18 '24 14:09 ariefgp