e47cd7436323a84d275eba07a824dabb23f6d344
[wolnelektury.git] / src / club / templates / admin / club / schedule / change_list.html
1 {% extends "admin/change_list.html" %}
2 {% load club %}
3
4 {% block content %}
5 <div style="display: flex; gap:50px;">
6   <table class="table">
7     <tr>
8       <td>Aktywne miesięczne wpłaty cykliczne:</td>
9       <td>{% club_active_monthly_count %} sztuk</td>
10       <td>{% club_active_monthly_sum %} zł.</td>
11     </tr>
12     <tr>
13       <td>Aktywne miesięczne wpłaty cykliczne:</td>
14       <td>{% club_active_yearly_count %} sztuk</td>
15       <td>{% club_active_yearly_sum %} zł.</td>
16     </tr>
17     <tr>
18       <td>Jednorazowe wpłaty w ciągu ostatnich 30 dni:</td>
19       <td>{% club_active_30day_count %} sztuk</td>
20       <td>{% club_active_30day_sum %} zł.</td>
21     </tr>
22   </table>
23   <div>
24     <form method="post" action="{% url 'club_receipt' %}" style="display: flex; flex-direction: column;">
25       {% csrf_token %}
26       <span>Pobierz zestawienie roczne</span>
27       <input name="email" placeholder="email"></input>
28       <input name="year" type="number" min="2020" max="2024" placeholder="rok"></input>
29       <button>pobierz zestawienie</button>
30     </form>
31   </div>
32   </div>
33   {{ block.super }}
34 {% endblock content %}