3fbda0327cd9d9c8eb0f4c0a3179f591e37f0346
[wolnelektury.git] / src / club / templates / club / year_summary.html
1 {% extends "base_simple.html" %}
2 {% load chunks i18n %}
3
4
5 {% block titleextra %}{% trans "Wolne Lektury need your help!" %}{% endblock %}
6
7
8 {% block body %}
9   <div class="white-box normal-text">
10     <h1>{% blocktrans with year=view.kwargs.year email=object.email %}Summary of donations in the year {{ year }} for the address {{ email }}.{% endblocktrans %}</h1>
11
12     <table class="table" border="1">
13       <thead>
14         <tr>
15           <th>{% trans "Date" %}</th>
16           <th>{% trans "Amount" %}</th>
17         </tr>
18       </thead>
19       <tbody>
20         {% for order in payments %}
21           <tr>
22             <td>{{ order.completed_at.date }}</td>
23             <td>{{ order.get_amount }} zł</td>
24           </tr>
25         {% endfor %}
26         <tr>
27           <th>{% trans "Total" %}:</th>
28           <th>{{ total_amount|default:0 }} zł</th>
29         </tr>
30       </tbody>
31     </table>
32   </div>
33 {% endblock %}