Skip to content

Add hours calculation and navigation to Timesheets screen#234

Open
chaitanyakotagiri27 wants to merge 2 commits intomainfrom
chaitanyakotagiri27/fix/timesheet-hours-navigation
Open

Add hours calculation and navigation to Timesheets screen#234
chaitanyakotagiri27 wants to merge 2 commits intomainfrom
chaitanyakotagiri27/fix/timesheet-hours-navigation

Conversation

@chaitanyakotagiri27
Copy link
Copy Markdown
Collaborator

This PR enhances the Timesheet Records page in the Guard App.

Changes made:

  • Added total worked hours calculation based on check-in and check-out times
  • Displayed calculated hours in the UI
  • Made each timesheet record clickable
  • Added navigation to Shift Details screen

The page integrates with the attendance API and correctly handles empty states when no records are available.
image
image
image
image

@TeddyScript101
Copy link
Copy Markdown
Collaborator

404 error when calling /attendance/my.
The PR will be reviewed again once the API is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants