# Feature COSTS-143 - PDF Timesheet: Add sum row to single item days as well

Project: Stream Time & Costs
Status: new
URL: https://community.openproject.org/work_packages/COSTS-143

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Export / PDF Export, Modules and project features / Costs and budgets |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | OP Dev Sirius Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**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"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention></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"><mention class="mention" data-id="60853" data-type="work_package" data-text="#60853">#60853</mention> 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"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention></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"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention></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"><mention class="mention" data-id="60853" data-type="work_package" data-text="#60853">#60853</mention> 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"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention></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"><mention class="mention" data-id="62523" data-type="work_package" data-text="#62523">#62523</mention></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>

**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*
