1 {% extends 'club/2022/donation_step_base.html' %}
6 {% block donation-step-content %}
10 <input type="radio" name="switch" id="switch-once" value="single" class="toggle-input" {% if schedule and not schedule.monthly %}checked{% endif %}>
11 <input type="radio" name="switch" id="switch-monthly" value="monthly" class="toggle-input" {% if not schedule or schedule.monthly %}checked{% endif %}>
12 <div class="l-switch__wrapper">
13 {% if user.is_staff %}
14 <span data-edit="club/club/{{ club.pk }}"></span>
17 <div class="l-switch white">
18 <label class='toggle-for' for="switch-once">Jednorazowo</label>
19 <label class='toggle-for' for="switch-monthly">Miesięcznie</label>
20 <span class="toggle"></span>
24 <div class="l-checkout__payments payments-once">
25 {% for amount in club.singleamount_set.all %}
26 <div class="l-checkout__payments__box once{% if not schedule.monthly and schedule.amount == amount.amount or not schedule and club.default_single_amount == amount.amount %} is-active{% endif %}{% if forloop.last %} l-checkout__payments__box--xl{% endif %}">
28 <h3>{{ amount.amount }} zł</h3>
29 <div class="l-checkout__payments__box__btn-wrp">
30 <button name="single_amount" value="{{ amount.amount }}">Wybierz</button>
33 {% if amount.description %}
35 <p>{{ amount.description|safe }}</p>
41 name="single_amount_selected"
42 value="{% if schedule and not schedule.monthly %}{{ schedule.amount|floatformat }}{% else %}{{ club.default_single_amount }}{% endif %}">
47 <div class="l-checkout__payments payments-recurring">
48 {% for amount in club.monthlyamount_set.all %}
49 <div class="l-checkout__payments__box{% if schedule.monthly and schedule.amount == amount.amount or not schedule and amount.amount == club.default_monthly_amount %} is-active{% endif %}">
50 <h3>{{ amount.amount }} zł <span>/mies.</span></h3>
51 <div class="l-checkout__payments__box__btn-wrp">
52 <p>{{ amount.description|safe }}</p>
53 <button name="monthly_amount" value="{{ amount.amount }}">Wybierz</button>
58 name="monthly_amount_selected"
59 value="{% if schedule and schedule.monthly %}{{ schedule.amount|floatformat }}{% else %}{{ club.default_monthly_amount }}{% endif %}">
62 <div class="l-checkout__amount">
63 <div class="l-checkout__input">
64 <label for="kwota">Inna kwota</label>
65 <!-- input type="text" id="kwota" name="custom_amount" value="" -->
66 {{ form.custom_amount }}
68 <button>Dalej</button>
72 <img src="{% static '2022/images/checkout-footer.png' %}" alt="Bezpieczne płatności zapewniają" class="l-checkout__footer__img">
73 <div class="l-checkout__cols bt-w">
74 <div class="l-checkout__col full">
75 <div class="l-checkout__form">
76 <div class="l-checkout__form__row full">
77 <h3>Dane do przelewu tradycyjnego:</h3>
78 <div class="l-checkout__info">
79 <div class="l-checkout__info__item">
80 <div>nazwa odbiorcy</div>
81 <h3>Fundacja Nowoczesna Polska</h3>
82 <button title="Kopiuj tekst" class="js-copy">
83 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
85 <input type="text" value="Fundacja Nowoczesna Polska">
87 <div class="l-checkout__info__item">
88 <div>adres odbiorcy</div>
89 <h3>ul. Marszałkowska 84/92 lok. 125, 00-514 Warszawa</h3>
90 <button title="Kopiuj tekst" class="js-copy">
91 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
93 <input type="text" value="ul. Marszałkowska 84/92 lok. 125, 00-514 Warszawa">
95 <div class="l-checkout__info__item">
96 <div>numer konta</div>
97 <h3>75 1090 2851 0000 0001 4324 3317</h3>
98 <button title="Kopiuj tekst" class="js-copy">
99 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
101 <input type="text" value="75 1090 2851 0000 0001 4324 3317">
103 <div class="l-checkout__info__item">
104 <div>tytuł przelewu</div>
105 <h3>Darowizna na Wolne Lektury + twoja nazwa użytkownika lub e-mail</h3>
106 <button title="Kopiuj tekst" class="js-copy">
107 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
109 <input type="text" value="Darowizna na Wolne Lektury + twoja nazwa użytkownika lub e-mail">
111 <div class="l-checkout__info__item">
112 <div>wpłaty w EUR</div>
113 <h3>PL88 1090 2851 0000 0001 4324 3374</h3>
114 <button title="Kopiuj tekst" class="js-copy">
115 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
117 <input type="text" value="PL88 1090 2851 0000 0001 4324 3374">
119 <div class="l-checkout__info__item">
120 <div>Wpłaty w USD</div>
121 <h3>PL82 1090 2851 0000 0001 4324 3385</h3>
122 <button title="Kopiuj tekst" class="js-copy">
123 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
125 <input type="text" value="PL88 1090 2851 0000 0001 4324 3374">
127 <div class="l-checkout__info__item">
130 <button title="Kopiuj tekst" class="js-copy">
131 <img src="{% static '2022/images/copy.svg' %}" alt="Kopiuj">
133 <input type="text" value="WBKPPLPP">