From 188f503b388db7b61a752e8da2630c2089a31de2 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Tue, 15 Mar 2022 16:32:20 +0100
Subject: [PATCH] Always include payment link in e-mail

---
 aleksis/apps/tezor/templates/templated_email/invoice.email | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/aleksis/apps/tezor/templates/templated_email/invoice.email b/aleksis/apps/tezor/templates/templated_email/invoice.email
index 8fe6d05..cb9612b 100644
--- a/aleksis/apps/tezor/templates/templated_email/invoice.email
+++ b/aleksis/apps/tezor/templates/templated_email/invoice.email
@@ -10,12 +10,10 @@
     Please carefully read the PDF file concerning all payment details.
     {% endblocktrans %}
 </p>
-{% if invoice.status == "waiting" %}
 <p>
     {% blocktrans %}
-    Please visit the following link to view and make the payment:
+    Please visit the following link to view or make the payment:
     {% endblocktrans %}
 </p>
 <a href="{{ BASE_URL }}{{ invoice.get_absolute_url }}">{{ BASE_URL }}{{ invoice.get_absolute_url}}</a>
-{% endif %}
 {% endblock %}
-- 
GitLab