Custom order emails: Allow to attach tickets and invoices

This commit is contained in:
Raphael Michel
2021-09-30 12:15:55 +02:00
parent 59f6b20129
commit 177906e2ac
4 changed files with 27 additions and 3 deletions

View File

@@ -18,6 +18,10 @@
{% bootstrap_field form.sendto layout='horizontal' %}
{% bootstrap_field form.subject layout='horizontal' %}
{% bootstrap_field form.message layout='horizontal' %}
{% bootstrap_field form.attach_tickets layout='horizontal' %}
{% if form.attach_invoices %}
{% bootstrap_field form.attach_invoices layout='horizontal' %}
{% endif %}
{% if request.method == "POST" %}
<fieldset>
<legend>{% trans "E-mail preview" %}</legend>