Skip to content
Snippets Groups Projects
Commit e7e656cb authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add plaintext part to invoice mail

parent 7f4708c8
No related branches found
No related tags found
1 merge request!18Add plaintext part to invoice mail
Pipeline #61331 failed
......@@ -19,3 +19,17 @@
<a href="{{ BASE_URL }}{{ invoice.get_absolute_url }}">{{ BASE_URL }}{{ invoice.get_absolute_url}}</a>
{% endif %}
{% endblock %}
{% block plain_content %}
{% blocktrans with number=invoice.number description=invoice.description %}
Please find attached invoice number {{ number }} for {{ description }}.
Please carefully read the PDF file concerning all payment details.
{% endblocktrans %}
{% if invoice.status == "waiting" %}
{% blocktrans %}
Please visit the following link to view and make the payment:
{% endblocktrans %}
{{ BASE_URL }}{{ invoice.get_absolute_url}}
{% endif %}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment