delete invoices (#1652)

* include all meta fields as template variables
* support invoice preview via command
* support deletion of generated invoices
This commit is contained in:
Kevin Papst
2020-04-23 12:19:07 +02:00
committed by GitHub
parent cfe0724620
commit 711139ad4c
20 changed files with 206 additions and 36 deletions

View File

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