openproject
openproject copied to clipboard
[#61896] Overview of time logged per day per user in PDF timesheet
Ticket
https://community.openproject.org/work_packages/61896
What are you trying to achieve?
Modify the overview table to show more sums (per user per day, total per user, total) Changing the details per user tables a bit.
Screenshots
Dev checklist
- [x] "Total sum: HH:MM h" for a sum of all users in the first line of the overview page
- [x] The summary table includes row per day.
- [x] The first column in the summary table shows the date of day, the abbreviated weekday
- [x] For each user there is a column.
- [x] The summary table columns are sorted by user name
- [x] In case there are many users, e.g. more than 6 users the table is split across multiple tables (but balanced amount, e.g. 7 users => 2 table (4 users, 3 users) e.g. 12 users => 2 tables (6 users, 6 users)
- [x] Empty (no logged time for that day) rows are not shown
- [x] The hours are always shown in hours (hh:mm) not in days and hours (2 d 2 h).
- [x] The values are aligned at the separator (right aligned values)
- [x] The values in the cells are linked to the corresponding heading in the details table below
- [x] User A
- [x] Hours User B for Monday 03.03.2025
- [x] In the details section
- [x] the sum of hours per day is listed as the row if there is more than one entry per day
- [x] the sum of all days is listed in a row if there is more than on day
- [x] The IDs of the work packages are listed. The IDs include a link to the work package itself
- [x] The first column shows the date of day, a comma and the abbreviated weekday
Merge checklist
- [x] Added/updated tests
- [x] Tested major browsers (Chrome, Firefox, Edge, ...)