diff --git a/Kimai2/groupedByProjects.pdf.twig b/Kimai2/groupedByProjects.pdf.twig index bb01a35..091ac92 100644 --- a/Kimai2/groupedByProjects.pdf.twig +++ b/Kimai2/groupedByProjects.pdf.twig @@ -247,6 +247,11 @@ } .items th { + color: {{ weiss }}; + background-color: {{ hintergrund }} + } + + .items .td_th { color: {{ suppress }}; border-bottom: 1px solid{{ suppress }}; } @@ -255,6 +260,8 @@ .items td { padding: 1mm 0.5mm; vertical-align: top; + font-size: 9pt; + border-bottom: 1px solid{{ suppress }}; } .t-nowrap { @@ -278,6 +285,11 @@ background-color: {{ hintergrund_hell }}; } + .tag-name { + font-weight: bold; + background-color: #F4F4F4; + } + .project-total { font-weight: bold; } @@ -474,17 +486,7 @@ mpdf-->

- Sehr geehrte Damen und Herren,
-
- heute erhalten Sie die Rechnung für die von mir vom {{ invoice['query.begin'] }} bis - zum {{ invoice['query.end'] }} erbrachten Leistungen. Bitte zahlen Sie die Rechnung pünktlich, spätestens - jedoch bis zum {{ invoice['invoice.due_date'] }}. - - {% block invoice_details_contact %} - {% if invoice['user.email'] is not empty %} - Bei Rückfragen erreichen Sie mich via E-Mail an {{ invoice['user.email'] }}. - {% endif %} - {% endblock %} + für den Zeitraum {{ invoice['query.begin'] }} - {{ invoice['query.end'] }}

@@ -492,12 +494,12 @@ mpdf--> - - - - - - + + + + + + @@ -532,16 +534,6 @@ mpdf--> {% for entry in entries %} - {% if entry['entry.tags'] != currentTag %} - {% set currentTag = entry['entry.tags']} - - - - - - - - {% endif %} {% if entry['entry.type'] == 'timesheet' %} {% if entry['entry.project_id'] == invoice[id ~ '.id'] %} @@ -549,6 +541,32 @@ mpdf--> {% set totalDuration = totalDuration + entry['entry.duration'] %} {% set pos = pos + 1 %} + + {% if entry['entry.tags'] != currentTag %} + {% if entry['entry.tags'] != '' and entry['entry.tags'] is not empty %} + {% set currentTag = entry['entry.tags'] %} + {% else %} + {% set currentTag = 'keine Tätigkeit angegeben' %} + {% endif %} + + + + + + + + + + + + + + + + + {% endif %} + +
{{ 'date'|trans }}{{ 'description'|trans }}Ticket#{{ 'total_rate'|trans }}
Leistungsstunden
{{ currentTag }}
{{ currentTag }}
{{ 'date'|trans }}{{ 'description'|trans }}Ticket#{{ 'total_rate'|trans }}
{{ entry['entry.begin'] }}