1 {% extends "base/base.html" %}
4 {% block titleextra %}Towarzystwo Wolnych Lektur{% endblock %}
8 <div class="white-box normal-text">
10 <h1>Plan płatności</h1>
12 <div>E-mail: {{ schedule.email }}</div>
13 <div>Składka: {{ schedule.amount }} zł {{ schedule.plan.get_interval_display }}</div>
14 <div>Wybrana metoda płatności: {{ schedule.get_payment_method.name }}</div>
16 {% if schedule.is_active %}
17 {% if schedule.plan.is_perpetual %}
20 Aktualnie opłacona do: {{ schedule.expires_at }}
22 {% if schedule.get_payment_method.is_recurring %}
23 <form method='post' action="{% url 'club_cancel' schedule.key %}">
25 <button type="submit">Anuluj kolejną płatność</button>
28 <form method='post' action=''>
30 <button type="submit">Opłać kolejny okres</button>
36 {% if schedule.is_expired %}
38 <form method='post' action=''>
40 <button type="submit">Opłać kolejny okres</button>
45 Składka nie została jeszcze opłacona.
46 {% if schedule.payuorder_set.exists %}
47 Czekamy na potwierdzenie płatności.
50 <form method='post' action=''>
52 <button type="submit">Zapłać składkę</button>
63 {% if schedule.membership %}
65 Członek/członkini Towarzystwa nr {{ schedule.membership.id }} ({{ schedule.membership.user }}).
68 <form method='post' action='{% url "club_membership" %}'>
70 Imię i nazwisko na legitymację: <br>
71 <input name="name" value="{{ schedule.membership.name|default:schedule.membership.user.username }}"><br>
72 <button type="submit">Zapisz</button>
77 Płatność nie przypisana do członkostwa.<br>
78 <a href="{% url 'club_claim' schedule.key %}">Przypisz</a>