You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: donation_receipts/templates/donation_receipts/donationreceipt_form.html
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,18 @@
2
2
{% load uikit_tags %}
3
3
4
4
{% block content %}
5
+
<h1>Donation Receipt - Address Entry</h1>
6
+
<p>Please provide your full name and address below. We will use this information to generate your donation receipt. Please include the following minimum information:</p>
Copy file name to clipboardExpand all lines: donations/templates/donations/success.html
+53-48Lines changed: 53 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -2,57 +2,62 @@
2
2
{% load uikit_tags %}
3
3
4
4
{% block head %}
5
-
{% if not object.completed or not receipt.finalized %}
6
-
<metahttp-equiv="refresh" content="3">
7
-
{% endif %}
5
+
{% if not object.completed or not receipt.finalized %}
6
+
<metahttp-equiv="refresh" content="3">
7
+
{% endif %}
8
8
{% endblock %}
9
9
10
10
{% block title %}Thank You{% endblock %}
11
11
12
12
{% block content %}
13
-
<divclass="uk-clearfix">
14
-
<h1>Thank You</h1>
15
-
{% if object.completed %}
16
-
{% if receipt.finalized %}
17
-
{# If we have a logged in user, and a receipt exists, offer it #}
18
-
{% if user.alumni %}
19
-
<h3>Your contributions enable our continued work!</h3>
20
-
<h4>You may <ahref="{% url 'download' receipt %}">download your receipt</a> now</h4>
21
-
{# Anonymous users only get one e-mail #}
22
-
{% else %}
23
-
<h3>We've emailed your donation receipt.</h3>
24
-
{% endif %}
25
-
{% elif receipt %}
26
-
{# This case is when the receipt wasn't finalized, but was created #}
27
-
<h3>We will e-mail your donation receipt once it's ready. You may still <ahref="{% url 'receipt-create' object.external_id %}">update your receipt</a>.</h3>
28
-
{% else %}
29
-
{% if user.alumni %}
30
-
{# If we're logged in, but no receipt exists, the user needs to fill in their address. #}
31
-
{% if not user.alumni.address.is_filled %}
32
-
<h3>
33
-
We tried issuing your donation receipt, but have no address on file.
<h3>If you'd like a donation receipt (for the tax authorities), please contact support.</h3>
39
-
{% endif %}
40
-
{% else %}
41
-
{# These are anonymous users, who may have just donated, or may have come back from an e-mail. #}
42
-
<h3>
43
-
Your contribution was successfully processed! If you would like a donation receipt (for the tax authorities), please
44
-
<ahref="{% url 'receipt-create' object.external_id %}">provide your address</a>.
45
-
</h3>
46
-
{% endif %}
47
-
{% endif %}
48
-
{% else %}
49
-
<h3>
50
-
Once your contribution is fully processed, you'll hear from us by e-mail.
51
-
{% if object.target %}
52
-
Your donation towards {{ object.target.label }} will be taken into consideration regardless.
53
-
{% endif %}
54
-
</h3>
13
+
<divclass="uk-clearfix">
14
+
<h1>Thank You</h1>
15
+
{% if object.completed %}
16
+
{% if receipt.finalized %}
17
+
{# If we have a logged in user, and a receipt exists, offer it #}
18
+
{% if user.alumni %}
19
+
<h3>Your contributions enable our continued work!</h3>
20
+
<h4>You may <ahref="{% url 'download' receipt %}">download your receipt</a> now</h4>
21
+
{# Anonymous users only get one e-mail #}
22
+
{% else %}
23
+
<h3>We've emailed your donation receipt.</h3>
24
+
{% endif %}
25
+
{% elif receipt %}
26
+
{# This case is when the receipt wasn't finalized, but was created #}
27
+
<h3>Your receipt is awaiting approval by the treasurer. We will let you know by e-mail once it's ready, you don't need to wait here. Made a typo? You can still <ahref="{% url 'receipt-create' object.external_id %}">update your name and address for this receipt</a>.</h3>
28
+
{% else %}
29
+
{% if user.alumni %}
30
+
{# If we're logged in, but no receipt exists, the user needs to fill in their address. #}
31
+
{% if not user.alumni.address.is_filled %}
32
+
<h3>
33
+
We tried issuing your donation receipt, but have no address on file.
<h3>If you'd like a donation receipt (for the tax authorities), please contact support.</h3>
39
+
{% endif %}
40
+
{% else %}
41
+
{# These are anonymous users, who may have just donated, or may have come back from an e-mail. #}
42
+
<h3>
43
+
Your contribution was successfully processed! If you need a donation receipt (for the tax authorities), please
44
+
<ahref="{% url 'receipt-create' object.external_id %}">provide your name and address</a>.
45
+
In case you'd like to continue later, we've sent a link for that to your e-mail address.
46
+
</h3>
47
+
{% endif %}
48
+
{% endif %}
49
+
{% else %}
50
+
<h3>
51
+
If you donated by card, please wait a moment for the payment to be processed.
52
+
This page will refresh automatically.
53
+
</h3>
54
+
<h3>
55
+
If you donated by bank transfer, you will receive an e-mail once your transfer is complete. You will then be able to request a donation receipt. This usually takes 1-3 working days.
56
+
{% if object.target %}
57
+
Your donation towards {{ object.target.label }} will be taken into consideration regardless.
55
58
{% endif %}
56
-
<p>In case of questions or problems, please contact <ahref="mailto:support@jacobs-alumni.de">support@jacobs-alumni.de</a></p>
57
-
</div>
58
-
{% endblock %}
59
+
</h3>
60
+
{% endif %}
61
+
<p>In case of questions or problems, please contact <ahref="mailto:support@jacobs-alumni.de">support@jacobs-alumni.de</a></p>
0 commit comments