Firmenname aus korrekter Variable auslesen

Gesamtstundenanzahl hinzugefügt
This commit is contained in:
2023-08-16 22:05:12 +02:00
parent 6d3d809ecd
commit ffe4bb3407

View File

@@ -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 %}
<address class="address-recipient">
{{ invoice['customer.name'] }}<br>
{% if invoice['customer.company'] %}
{{ invoice['customer.company'] }}<br>
{% else %}
{{ invoice['customer.name'] }}<br>
{% endif %}
{% if invoice['customer.contact'] %}
{{ invoice['customer.contact'] }}<br>
{% endif %}
@@ -624,6 +633,17 @@ mpdf-->
{% endif %}
{% endfor %}
<tr>
<td class="project-total t-gesamt t-left"></td>
<td class="project-total t-gesamt t-left">Gesamt:</td>
<td class="project-total t-gesamt t-nowrap t-center"></td>
<td class="project-total t-gesamt t-nowrap t-right">{{ invoice['invoice.total_time'] }}</td>
<td class="project-total t-gesamt t-nowrap t-right">{{ invoice['invoice.subtotal'] }}</td>
</tr>
<tr>
<td colspan="5">&nbsp;</td>
</tr>
{% else %}
<!-- do not group by projects -->
{% for entry in entries %}