-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
Description
Related document:
Related User Stories
- [Feature] Reports | Filter Weekly Limit report #3163
- [Feature] Reports | Group Weekly Limit report #3164
- [Feature] Reports | Export Weekly Limit report #3170
As a manager, I want to view a Weekly Limit Report, so I can track and monitor my team's adherence to time limits.
Note
1.1 Purpose
The Weekly Limit Report is designed to provide managers with comprehensive insights into their team's time allocations on a weekly basis. This feature aims to enhance productivity tracking, resource management, and adherence to established time limits within the organization.
1.2 Scope
This PRD outlines the requirements for implementing the Weekly Limit Report feature within our task and project management product. The report will be accessible to managers and will integrate with our existing time tracking functionality.
1.3 Definitions
- Weekly Limit: The maximum number of hours a team member is allocated to work in a week.
- Time Spent: The actual number of hours worked by a team member in a given period.
- Percentage Used: The proportion of the weekly limit that has been utilized.
- Remaining Hours: The number of hours left within the weekly limit.
Detailed Flow:
- Manager navigates to the Reports section
- Manager selects the "Weekly Limit Report"
- System displays a table with columns: Member, Time Spent, Weekly Limit, Percentage Used, Remaining
- Manager can adjust the time range for the report
- System updates the report based on the selected time range
- Report title changes dynamically based on the selected time range and grouping
Acceptance Criteria:
- Report displays accurate data for each team member
- All specified columns (Member, Time Spent, Weekly Limit, Percentage Used, Remaining) are present
- Time range selector includes presets (Today, Yesterday, Current Week, Last Week, Current Month, Last Month, All Time) and a Custom Range option
- Report updates in real-time when time range is adjusted
- Percentage Used and Remaining columns are correctly calculated based on Time Spent and Limit
Additional Information
Technical
Available:
- API for Timesheet : https://api.gauzy.co/swg#/TimeLog/TimeLogController_getTimeLimitReport
- Method :
GET
- Sample Request URL:
/api/timesheet/time-log/time-limit
- Sample Payload:
organizationId: 7fac8f69-2721-42c6-a3df-25dfa8a88bda
tenantId: 5049a039-4104-49dc-9356-ba005b0ed7e9
startDate: 2024-10-20 21:00:00
endDate: 2024-10-27 20:59:59
timeZone: Asia/Famagusta
duration: day
- All data is available in the API