Files
kimai2/templates/invoice/renderer/text.txt.twig
Kevin Papst 711139ad4c delete invoices (#1652)
* include all meta fields as template variables
* support invoice preview via command
* support deletion of generated invoices
2020-04-23 12:19:07 +02:00

17 lines
366 B
Twig

{% for key, value in model.toArray %}
{{ key }}
{% if value is not empty %}
{{ value|multiline_indent(' ') }}
{% endif %}
{% endfor %}
{% for entry in model.calculator.entries %}
---
{% set items = model.itemToArray(entry) %}
{% for key, value in items %}
{{ key }}
{% if value is not empty %}
{{ value|multiline_indent(' ') }}
{% endif %}
{% endfor %}
{% endfor %}