Content
View differences
Updated by Andrej Sandorf over 1 year ago
**As** a user exporting timesheet
**I want to** see sums for the hours worked by each user
**so that** don't have to calculate it manually
**Acceptance criteria**
* If there is **more than one user** in the exported PDF:
Add a PDF page after the cover page containing an overview table:
<figure class="table op-uc-figure op-uc-figure_align-center"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>User</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>Sum</strong></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Example user</p></td><td class="op-uc-table--cell"><p class="op-uc-p">45,45h</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Another example user</p></td><td class="op-uc-table--cell"><p class="op-uc-p">2,0h</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>47,45h</strong></p></td></tr></tbody></table></figure> class="op-uc-p">2,0h</p></td></tr></tbody></table></figure>
* A sum row below each user table
**I want to** see sums for the hours worked by each user
**so that** don't have to calculate it manually
**Acceptance criteria**
* If there is **more than one user** in the exported PDF:
Add a PDF page after the cover page containing an overview table:
<figure class="table op-uc-figure op-uc-figure_align-center"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><strong>User</strong></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>Sum</strong></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Example user</p></td><td class="op-uc-table--cell"><p class="op-uc-p">45,45h</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Another example user</p></td><td class="op-uc-table--cell"><p class="op-uc-p">2,0h</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><strong>47,45h</strong></p></td></tr></tbody></table></figure>
* A sum row below each user table