diff --git a/Kimai2/groupedByProjects.pdf.twig b/Kimai2/groupedByProjects.pdf.twig index 73dde44..81048ef 100644 --- a/Kimai2/groupedByProjects.pdf.twig +++ b/Kimai2/groupedByProjects.pdf.twig @@ -283,6 +283,11 @@ text-align: center; } + .t-gesamt { + background-color: {{ hintergrund_hellgrau }}; + border-bottom: 1p solid {{ hintergrund }}; + } + .project-name { font-weight: bold; background-color: {{ hintergrund_hell }}; @@ -423,7 +428,11 @@ mpdf--> {% block invoice_address_recipient %}
- {{ invoice['customer.name'] }}
+ {% if invoice['customer.company'] %} + {{ invoice['customer.company'] }}
+ {% else %} + {{ invoice['customer.name'] }}
+ {% endif %} {% if invoice['customer.contact'] %} {{ invoice['customer.contact'] }}
{% endif %} @@ -624,6 +633,17 @@ mpdf--> {% endif %} {% endfor %} + + + + Gesamt: + + {{ invoice['invoice.total_time'] }} + {{ invoice['invoice.subtotal'] }} + + +   + {% else %} {% for entry in entries %}