From 2b86527cd0bba1cf5ccfc1003b5aee798d608891 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Sat, 12 Mar 2022 22:33:35 +0100
Subject: [PATCH] Add due date to invoice PDF

---
 .../paweljong/templates/paweljong/invoice_pdf.html     | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/aleksis/apps/paweljong/templates/paweljong/invoice_pdf.html b/aleksis/apps/paweljong/templates/paweljong/invoice_pdf.html
index b58e90e..0e68efa 100644
--- a/aleksis/apps/paweljong/templates/paweljong/invoice_pdf.html
+++ b/aleksis/apps/paweljong/templates/paweljong/invoice_pdf.html
@@ -206,7 +206,7 @@
         <p>
             {% blocktrans %}
             Please make the payment with a member of the board or by bank transfer to the following
-            account within 7 days:
+            account:
             {% endblocktrans %}
         </p>
         <table>
@@ -231,6 +231,14 @@
             {{ invoice.get_variant_name }}
         </p>
         {% endif %}
+	{% if invoice.due_date %}
+	<p>
+	    {% blocktrans %}
+	    The payment is due on
+	    {% endblocktrans %}
+	    {{ invoice.due_date }}
+	</p>
+	{% endif %}
     </article>
     <footer>
         <div class="text"><p>Vereinsregister Amtsgericht Bonn · VR 9846</p>
-- 
GitLab