Content
View differences
Updated by Niels Lindenthal 10 months ago
**As** a reader of a PDF time sheet
**I want to** also have a sum row on days that only have a single item
**so that** I am not confused when having a time sheet where some days have a sum while others don't:
<br>
**Scenario 1: with date and time**
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Date and time</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Work package</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Total hours</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Activity</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-25, Mon</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>6:00 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">08:00 - 08:30 (0:30 h)</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Developmnet</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">09:00 - 09:30 (5:30 h)</p></td><td class="op-uc-table--cell"><p class="op-uc-p">#60853 Meetiong - All dev weekly</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Coordination</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-26, Tue</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>1:30 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">08:00 - 09:30 (1:30 h)</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Development</p></td></tr></tbody></table></figure>
**Scenario 2: only dates**
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Date and time</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Work package</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Total hours</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Activity</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-25, Mon</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>6:00 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">0:30 h</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Developmnet</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">5:30 h</p></td><td class="op-uc-table--cell"><p class="op-uc-p">#60853 Meetiong - All dev weekly</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Coordination</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-26, Tue</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>1:30 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">1:30 h</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Development</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-26, Tue</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>3:00 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">1:30 h</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Development</p></td></tr></tbody></table></figure><br>
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/723639/content">
**Acceptance criteria**
* Either:
* Always have a sum row per day OR
* Display a sum row consistently when a single day has a sum row. When every day of the PDF has only a single row, no sum is needed at all.
**Permissions and visibility considerations**
* none
**Translation considerations**
* _none_
**I want to** also have a sum row on days that only have a single item
**so that** I am not confused when having a time sheet where some days have a sum while others don't:
<br>
**Scenario 1: with date and time**
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Date and time</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Work package</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Total hours</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Activity</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-25, Mon</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>6:00 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">08:00 - 08:30 (0:30 h)</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Developmnet</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">09:00 - 09:30 (5:30 h)</p></td><td class="op-uc-table--cell"><p class="op-uc-p">#60853 Meetiong - All dev weekly</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Coordination</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-26, Tue</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>1:30 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">08:00 - 09:30 (1:30 h)</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Development</p></td></tr></tbody></table></figure>
**Scenario 2: only dates**
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Date and time</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Work package</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Total hours</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Activity</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-25, Mon</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>6:00 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">0:30 h</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Developmnet</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">5:30 h</p></td><td class="op-uc-table--cell"><p class="op-uc-p">#60853 Meetiong - All dev weekly</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Coordination</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-26, Tue</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>1:30 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">1:30 h</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Development</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>2025-06-26, Tue</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>3:00 h</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">1:30 h</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention> Work package datepicker incorrectly renders turbo frame response</p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br data-cke-filler="true"></p></td><td class="op-uc-table--cell"><p class="op-uc-p">Development</p></td></tr></tbody></table></figure><br>
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/723639/content">
**Acceptance criteria**
* Either:
* Always have a sum row per day OR
* Display a sum row consistently when a single day has a sum row. When every day of the PDF has only a single row, no sum is needed at all.
**Permissions and visibility considerations**
* none
**Translation considerations**
* _none_