-
Notifications
You must be signed in to change notification settings - Fork 18
Timesheets Summary & Upcoming Time-Offs API (BE) #1144
Copy link
Copy link
Open
Milestone
Description
Parent: Backend Services [BE]
Description
Expose two API endpoints for the Project Manager dashboard bottom section.
Timesheets endpoint: GET /api/method/next_pms.api.dashboard.get_team_timesheets
- Parameters:
project_manager(user),period(e.g., "last_week") - Response: Array of member objects —
member_name,member_avatar,billable_hours,non_billable_hours,expected_hours,delta(numeric),delta_status(one of: "pending", "on_track", "over_under") — used to show the hourglass, green tick, or red cross icon in the Delta column.
Time-offs endpoint: GET /api/method/next_pms.api.dashboard.get_upcoming_timeoffs
- Parameters:
from_date,to_date - Response: Array of time-off entries —
date_label(e.g., "Today, First half"),members(array of{ name, avatar })
Design Reference
Project-manager-dashboard.jpg (Timesheets table with 6 members and Delta icons; Upcoming time-offs panel with 4 date entries and member avatars)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels