ElevenReader links
[wolnelektury.git] / src / club / templates / admin / club / schedule / change_list.html
index 69fd851..3d9cd55 100644 (file)
@@ -2,6 +2,7 @@
 {% load club %}
 
 {% block content %}
+<div style="display: flex; gap:50px;">
   <table class="table">
     <tr>
       <td>Aktywne miesięczne wpłaty cykliczne:</td>
@@ -9,7 +10,7 @@
       <td>{% club_active_monthly_sum %} zł.</td>
     </tr>
     <tr>
-      <td>Aktywne roczne wpłaty cykliczne:</td>
+      <td>Aktywne miesięczne wpłaty cykliczne:</td>
       <td>{% club_active_yearly_count %} sztuk</td>
       <td>{% club_active_yearly_sum %} zł.</td>
     </tr>
       <td>{% club_active_30day_sum %} zł.</td>
     </tr>
   </table>
+  <div>
+    <form method="post" action="{% url 'club_receipt' %}" style="display: flex; flex-direction: column;">
+      {% csrf_token %}
+      <span>Pobierz zestawienie roczne</span>
+      <input name="email" placeholder="email" required></input>
+      <input name="year" type="number" min="2013" max="2024" value="2024" placeholder="rok" required></input>
+      <button>pobierz zestawienie</button>
+    </form>
+  </div>
+  </div>
   {{ block.super }}
 {% endblock content %}