Updated HTML invoice templates (#560)

This commit is contained in:
Kevin Papst
2019-02-12 15:35:33 +01:00
committed by GitHub
parent 742e6eb3a3
commit fd60d5bb17
10 changed files with 75 additions and 36 deletions

View File

@@ -4,7 +4,7 @@
{% block invoice %}
{# You can overwrite these settings in your config/packages.local.yaml under the key "twig.globals.company" #}
{# You can overwrite these settings in your config/packages/local.yaml under the key "twig.globals.company" #}
{% set company = company|default({
name: 'Kimai Inc.',
homepage: 'www.kimai.org',
@@ -88,7 +88,13 @@
{% endif %}
<tr>
<td contenteditable="true">{{ entry.description }}</td>
<td contenteditable="true">
{% if entry.description is not empty %}
{{ entry.description }}
{% else %}
{{ entry.activity.name }} / {{ entry.project.name }}
{% endif %}
</td>
<td contenteditable="true">{{ rate|money(model.calculator.currency) }}</td>
<td contenteditable="true">{{ duration }}</td>
<td>{{ entry.rate|money(model.calculator.currency) }}</td>