From 79e9ae3a7f85ac383306a5840250343597024a0b Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 15 Jun 2021 15:29:59 +0200 Subject: [PATCH] direct debits --- src/club/admin.py | 20 ++++++ src/club/locale/de/LC_MESSAGES/django.po | 86 ++++++++++++----------- src/club/locale/en/LC_MESSAGES/django.po | 86 ++++++++++++----------- src/club/locale/es/LC_MESSAGES/django.po | 86 ++++++++++++----------- src/club/locale/fr/LC_MESSAGES/django.po | 86 ++++++++++++----------- src/club/locale/it/LC_MESSAGES/django.po | 86 ++++++++++++----------- src/club/locale/lt/LC_MESSAGES/django.po | 86 ++++++++++++----------- src/club/locale/pl/LC_MESSAGES/django.mo | Bin 7634 -> 8367 bytes src/club/locale/pl/LC_MESSAGES/django.po | 74 ++++++++++++++++++- src/club/locale/ru/LC_MESSAGES/django.po | 86 ++++++++++++----------- src/club/locale/uk/LC_MESSAGES/django.po | 86 ++++++++++++----------- src/club/migrations/0028_directdebit.py | 39 ++++++++++ src/club/models.py | 25 +++++++ 13 files changed, 515 insertions(+), 331 deletions(-) create mode 100644 src/club/migrations/0028_directdebit.py diff --git a/src/club/admin.py b/src/club/admin.py index 0a23c20cf..4e85d4dc1 100644 --- a/src/club/admin.py +++ b/src/club/admin.py @@ -136,3 +136,23 @@ admin.site.register(models.PayUOrder, PayUOrderAdmin) admin.site.register(models.Ambassador) + + + +@admin.register(models.DirectDebit) +class DirectDebitAdmin(admin.ModelAdmin): + list_display = ['date', 'amount', 'first_name', 'last_name'] + fields = [ + ('first_name', 'sex', 'date_of_birth'), + 'last_name', + ('street', 'building'), + ('town', 'flat'), + ('postal_code', 'phone'), + 'email', + 'iban', + 'payment_id', + 'agree_newsletter', + 'date', + 'amount' + ] + diff --git a/src/club/locale/de/LC_MESSAGES/django.po b/src/club/locale/de/LC_MESSAGES/django.po index b0d70e663..5842795d9 100644 --- a/src/club/locale/de/LC_MESSAGES/django.po +++ b/src/club/locale/de/LC_MESSAGES/django.po @@ -29,7 +29,7 @@ msgstr "" msgid "Club" msgstr "" -#: club/forms.py:26 +#: club/forms.py:32 #, python-format msgid "Minimal amount is %(amount)d PLN." msgstr "" @@ -66,133 +66,137 @@ msgstr "" msgid "clubs" msgstr "" -#: club/models.py:47 +#: club/models.py:48 msgid "key" msgstr "" -#: club/models.py:48 +#: club/models.py:49 msgid "email" msgstr "" -#: club/models.py:49 club/models.py:155 +#: club/models.py:50 club/models.py:143 msgid "membership" msgstr "" -#: club/models.py:50 -msgid "payed at" -msgstr "" - #: club/models.py:51 -msgid "expires_at" -msgstr "" - -#: club/models.py:71 msgid "amount" msgstr "" -#: club/models.py:72 club/templates/club/payment_form.html:21 +#: club/models.py:52 club/templates/club/payment_form.html:21 msgid "monthly" msgstr "" -#: club/models.py:73 +#: club/models.py:53 msgid "yearly" msgstr "" -#: club/models.py:75 +#: club/models.py:55 +msgid "source" +msgstr "" + +#: club/models.py:57 msgid "cancelled" msgstr "" -#: club/models.py:76 +#: club/models.py:58 +msgid "payed at" +msgstr "" + +#: club/models.py:59 msgid "started at" msgstr "" -#: club/models.py:79 +#: club/models.py:60 +msgid "expires_at" +msgstr "" + +#: club/models.py:64 msgid "schedule" msgstr "" -#: club/models.py:80 +#: club/models.py:65 msgid "schedules" msgstr "" -#: club/models.py:147 +#: club/models.py:135 msgid "user" msgstr "" -#: club/models.py:148 +#: club/models.py:136 msgid "created at" msgstr "" -#: club/models.py:149 club/models.py:210 +#: club/models.py:137 club/models.py:198 msgid "name" msgstr "" -#: club/models.py:150 +#: club/models.py:138 msgid "manual" msgstr "" -#: club/models.py:151 +#: club/models.py:139 msgid "notes" msgstr "" -#: club/models.py:152 +#: club/models.py:140 msgid "updated at" msgstr "" -#: club/models.py:156 +#: club/models.py:144 msgid "memberships" msgstr "" -#: club/models.py:193 +#: club/models.py:181 msgid "days before" msgstr "" -#: club/models.py:194 +#: club/models.py:182 msgid "subject" msgstr "" -#: club/models.py:195 club/payu/models.py:140 +#: club/models.py:183 club/payu/models.py:140 msgid "body" msgstr "" -#: club/models.py:198 +#: club/models.py:186 msgid "reminder email" msgstr "" -#: club/models.py:199 +#: club/models.py:187 msgid "reminder emails" msgstr "" -#: club/models.py:204 +#: club/models.py:192 #, python-format msgid "a day before expiration" msgid_plural "%d days before expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:206 +#: club/models.py:194 #, python-format msgid "a day after expiration" msgid_plural "%d days after expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:211 +#: club/models.py:199 msgid "photo" msgstr "" -#: club/models.py:212 +#: club/models.py:200 msgid "text" msgstr "" -#: club/models.py:215 +#: club/models.py:203 msgid "ambassador" msgstr "" -#: club/models.py:216 +#: club/models.py:204 msgid "ambassadors" msgstr "" -#: club/models.py:247 club/templates/club/index.html:7 +#: club/models.py:235 club/templates/club/index.html:7 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6 #: club/templates/payu/rec_payment.html:5 msgid "Towarzystwo Przyjaciół Wolnych Lektur" @@ -314,11 +318,11 @@ msgstr "" msgid "See your past support." msgstr "" -#: club/templates/club/membership_form.html:40 +#: club/templates/club/membership_form.html:41 msgid "Help us get 100 new Friends by the end of the school semester." msgstr "" -#: club/templates/club/membership_form.html:41 +#: club/templates/club/membership_form.html:42 #, python-format msgid "" "\n" @@ -333,7 +337,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: club/templates/club/membership_form.html:46 +#: club/templates/club/membership_form.html:47 #, python-format msgid "" "\n" @@ -387,7 +391,7 @@ msgid "" "\"https://nowoczesnapolska.org.pl/prywatnosc/\">privacy policy." msgstr "" -#: club/templates/club/payment_form.html:64 +#: club/templates/club/payment_form.html:65 msgid "Donate" msgstr "" diff --git a/src/club/locale/en/LC_MESSAGES/django.po b/src/club/locale/en/LC_MESSAGES/django.po index b0d70e663..5842795d9 100644 --- a/src/club/locale/en/LC_MESSAGES/django.po +++ b/src/club/locale/en/LC_MESSAGES/django.po @@ -29,7 +29,7 @@ msgstr "" msgid "Club" msgstr "" -#: club/forms.py:26 +#: club/forms.py:32 #, python-format msgid "Minimal amount is %(amount)d PLN." msgstr "" @@ -66,133 +66,137 @@ msgstr "" msgid "clubs" msgstr "" -#: club/models.py:47 +#: club/models.py:48 msgid "key" msgstr "" -#: club/models.py:48 +#: club/models.py:49 msgid "email" msgstr "" -#: club/models.py:49 club/models.py:155 +#: club/models.py:50 club/models.py:143 msgid "membership" msgstr "" -#: club/models.py:50 -msgid "payed at" -msgstr "" - #: club/models.py:51 -msgid "expires_at" -msgstr "" - -#: club/models.py:71 msgid "amount" msgstr "" -#: club/models.py:72 club/templates/club/payment_form.html:21 +#: club/models.py:52 club/templates/club/payment_form.html:21 msgid "monthly" msgstr "" -#: club/models.py:73 +#: club/models.py:53 msgid "yearly" msgstr "" -#: club/models.py:75 +#: club/models.py:55 +msgid "source" +msgstr "" + +#: club/models.py:57 msgid "cancelled" msgstr "" -#: club/models.py:76 +#: club/models.py:58 +msgid "payed at" +msgstr "" + +#: club/models.py:59 msgid "started at" msgstr "" -#: club/models.py:79 +#: club/models.py:60 +msgid "expires_at" +msgstr "" + +#: club/models.py:64 msgid "schedule" msgstr "" -#: club/models.py:80 +#: club/models.py:65 msgid "schedules" msgstr "" -#: club/models.py:147 +#: club/models.py:135 msgid "user" msgstr "" -#: club/models.py:148 +#: club/models.py:136 msgid "created at" msgstr "" -#: club/models.py:149 club/models.py:210 +#: club/models.py:137 club/models.py:198 msgid "name" msgstr "" -#: club/models.py:150 +#: club/models.py:138 msgid "manual" msgstr "" -#: club/models.py:151 +#: club/models.py:139 msgid "notes" msgstr "" -#: club/models.py:152 +#: club/models.py:140 msgid "updated at" msgstr "" -#: club/models.py:156 +#: club/models.py:144 msgid "memberships" msgstr "" -#: club/models.py:193 +#: club/models.py:181 msgid "days before" msgstr "" -#: club/models.py:194 +#: club/models.py:182 msgid "subject" msgstr "" -#: club/models.py:195 club/payu/models.py:140 +#: club/models.py:183 club/payu/models.py:140 msgid "body" msgstr "" -#: club/models.py:198 +#: club/models.py:186 msgid "reminder email" msgstr "" -#: club/models.py:199 +#: club/models.py:187 msgid "reminder emails" msgstr "" -#: club/models.py:204 +#: club/models.py:192 #, python-format msgid "a day before expiration" msgid_plural "%d days before expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:206 +#: club/models.py:194 #, python-format msgid "a day after expiration" msgid_plural "%d days after expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:211 +#: club/models.py:199 msgid "photo" msgstr "" -#: club/models.py:212 +#: club/models.py:200 msgid "text" msgstr "" -#: club/models.py:215 +#: club/models.py:203 msgid "ambassador" msgstr "" -#: club/models.py:216 +#: club/models.py:204 msgid "ambassadors" msgstr "" -#: club/models.py:247 club/templates/club/index.html:7 +#: club/models.py:235 club/templates/club/index.html:7 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6 #: club/templates/payu/rec_payment.html:5 msgid "Towarzystwo Przyjaciół Wolnych Lektur" @@ -314,11 +318,11 @@ msgstr "" msgid "See your past support." msgstr "" -#: club/templates/club/membership_form.html:40 +#: club/templates/club/membership_form.html:41 msgid "Help us get 100 new Friends by the end of the school semester." msgstr "" -#: club/templates/club/membership_form.html:41 +#: club/templates/club/membership_form.html:42 #, python-format msgid "" "\n" @@ -333,7 +337,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: club/templates/club/membership_form.html:46 +#: club/templates/club/membership_form.html:47 #, python-format msgid "" "\n" @@ -387,7 +391,7 @@ msgid "" "\"https://nowoczesnapolska.org.pl/prywatnosc/\">privacy policy." msgstr "" -#: club/templates/club/payment_form.html:64 +#: club/templates/club/payment_form.html:65 msgid "Donate" msgstr "" diff --git a/src/club/locale/es/LC_MESSAGES/django.po b/src/club/locale/es/LC_MESSAGES/django.po index b0d70e663..5842795d9 100644 --- a/src/club/locale/es/LC_MESSAGES/django.po +++ b/src/club/locale/es/LC_MESSAGES/django.po @@ -29,7 +29,7 @@ msgstr "" msgid "Club" msgstr "" -#: club/forms.py:26 +#: club/forms.py:32 #, python-format msgid "Minimal amount is %(amount)d PLN." msgstr "" @@ -66,133 +66,137 @@ msgstr "" msgid "clubs" msgstr "" -#: club/models.py:47 +#: club/models.py:48 msgid "key" msgstr "" -#: club/models.py:48 +#: club/models.py:49 msgid "email" msgstr "" -#: club/models.py:49 club/models.py:155 +#: club/models.py:50 club/models.py:143 msgid "membership" msgstr "" -#: club/models.py:50 -msgid "payed at" -msgstr "" - #: club/models.py:51 -msgid "expires_at" -msgstr "" - -#: club/models.py:71 msgid "amount" msgstr "" -#: club/models.py:72 club/templates/club/payment_form.html:21 +#: club/models.py:52 club/templates/club/payment_form.html:21 msgid "monthly" msgstr "" -#: club/models.py:73 +#: club/models.py:53 msgid "yearly" msgstr "" -#: club/models.py:75 +#: club/models.py:55 +msgid "source" +msgstr "" + +#: club/models.py:57 msgid "cancelled" msgstr "" -#: club/models.py:76 +#: club/models.py:58 +msgid "payed at" +msgstr "" + +#: club/models.py:59 msgid "started at" msgstr "" -#: club/models.py:79 +#: club/models.py:60 +msgid "expires_at" +msgstr "" + +#: club/models.py:64 msgid "schedule" msgstr "" -#: club/models.py:80 +#: club/models.py:65 msgid "schedules" msgstr "" -#: club/models.py:147 +#: club/models.py:135 msgid "user" msgstr "" -#: club/models.py:148 +#: club/models.py:136 msgid "created at" msgstr "" -#: club/models.py:149 club/models.py:210 +#: club/models.py:137 club/models.py:198 msgid "name" msgstr "" -#: club/models.py:150 +#: club/models.py:138 msgid "manual" msgstr "" -#: club/models.py:151 +#: club/models.py:139 msgid "notes" msgstr "" -#: club/models.py:152 +#: club/models.py:140 msgid "updated at" msgstr "" -#: club/models.py:156 +#: club/models.py:144 msgid "memberships" msgstr "" -#: club/models.py:193 +#: club/models.py:181 msgid "days before" msgstr "" -#: club/models.py:194 +#: club/models.py:182 msgid "subject" msgstr "" -#: club/models.py:195 club/payu/models.py:140 +#: club/models.py:183 club/payu/models.py:140 msgid "body" msgstr "" -#: club/models.py:198 +#: club/models.py:186 msgid "reminder email" msgstr "" -#: club/models.py:199 +#: club/models.py:187 msgid "reminder emails" msgstr "" -#: club/models.py:204 +#: club/models.py:192 #, python-format msgid "a day before expiration" msgid_plural "%d days before expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:206 +#: club/models.py:194 #, python-format msgid "a day after expiration" msgid_plural "%d days after expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:211 +#: club/models.py:199 msgid "photo" msgstr "" -#: club/models.py:212 +#: club/models.py:200 msgid "text" msgstr "" -#: club/models.py:215 +#: club/models.py:203 msgid "ambassador" msgstr "" -#: club/models.py:216 +#: club/models.py:204 msgid "ambassadors" msgstr "" -#: club/models.py:247 club/templates/club/index.html:7 +#: club/models.py:235 club/templates/club/index.html:7 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6 #: club/templates/payu/rec_payment.html:5 msgid "Towarzystwo Przyjaciół Wolnych Lektur" @@ -314,11 +318,11 @@ msgstr "" msgid "See your past support." msgstr "" -#: club/templates/club/membership_form.html:40 +#: club/templates/club/membership_form.html:41 msgid "Help us get 100 new Friends by the end of the school semester." msgstr "" -#: club/templates/club/membership_form.html:41 +#: club/templates/club/membership_form.html:42 #, python-format msgid "" "\n" @@ -333,7 +337,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: club/templates/club/membership_form.html:46 +#: club/templates/club/membership_form.html:47 #, python-format msgid "" "\n" @@ -387,7 +391,7 @@ msgid "" "\"https://nowoczesnapolska.org.pl/prywatnosc/\">privacy policy." msgstr "" -#: club/templates/club/payment_form.html:64 +#: club/templates/club/payment_form.html:65 msgid "Donate" msgstr "" diff --git a/src/club/locale/fr/LC_MESSAGES/django.po b/src/club/locale/fr/LC_MESSAGES/django.po index 74a58dc4a..6b253e6bf 100644 --- a/src/club/locale/fr/LC_MESSAGES/django.po +++ b/src/club/locale/fr/LC_MESSAGES/django.po @@ -29,7 +29,7 @@ msgstr "" msgid "Club" msgstr "" -#: club/forms.py:26 +#: club/forms.py:32 #, python-format msgid "Minimal amount is %(amount)d PLN." msgstr "" @@ -66,133 +66,137 @@ msgstr "" msgid "clubs" msgstr "" -#: club/models.py:47 +#: club/models.py:48 msgid "key" msgstr "" -#: club/models.py:48 +#: club/models.py:49 msgid "email" msgstr "" -#: club/models.py:49 club/models.py:155 +#: club/models.py:50 club/models.py:143 msgid "membership" msgstr "" -#: club/models.py:50 -msgid "payed at" -msgstr "" - #: club/models.py:51 -msgid "expires_at" -msgstr "" - -#: club/models.py:71 msgid "amount" msgstr "" -#: club/models.py:72 club/templates/club/payment_form.html:21 +#: club/models.py:52 club/templates/club/payment_form.html:21 msgid "monthly" msgstr "" -#: club/models.py:73 +#: club/models.py:53 msgid "yearly" msgstr "" -#: club/models.py:75 +#: club/models.py:55 +msgid "source" +msgstr "" + +#: club/models.py:57 msgid "cancelled" msgstr "" -#: club/models.py:76 +#: club/models.py:58 +msgid "payed at" +msgstr "" + +#: club/models.py:59 msgid "started at" msgstr "" -#: club/models.py:79 +#: club/models.py:60 +msgid "expires_at" +msgstr "" + +#: club/models.py:64 msgid "schedule" msgstr "" -#: club/models.py:80 +#: club/models.py:65 msgid "schedules" msgstr "" -#: club/models.py:147 +#: club/models.py:135 msgid "user" msgstr "" -#: club/models.py:148 +#: club/models.py:136 msgid "created at" msgstr "" -#: club/models.py:149 club/models.py:210 +#: club/models.py:137 club/models.py:198 msgid "name" msgstr "" -#: club/models.py:150 +#: club/models.py:138 msgid "manual" msgstr "" -#: club/models.py:151 +#: club/models.py:139 msgid "notes" msgstr "" -#: club/models.py:152 +#: club/models.py:140 msgid "updated at" msgstr "" -#: club/models.py:156 +#: club/models.py:144 msgid "memberships" msgstr "" -#: club/models.py:193 +#: club/models.py:181 msgid "days before" msgstr "" -#: club/models.py:194 +#: club/models.py:182 msgid "subject" msgstr "" -#: club/models.py:195 club/payu/models.py:140 +#: club/models.py:183 club/payu/models.py:140 msgid "body" msgstr "" -#: club/models.py:198 +#: club/models.py:186 msgid "reminder email" msgstr "" -#: club/models.py:199 +#: club/models.py:187 msgid "reminder emails" msgstr "" -#: club/models.py:204 +#: club/models.py:192 #, python-format msgid "a day before expiration" msgid_plural "%d days before expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:206 +#: club/models.py:194 #, python-format msgid "a day after expiration" msgid_plural "%d days after expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:211 +#: club/models.py:199 msgid "photo" msgstr "" -#: club/models.py:212 +#: club/models.py:200 msgid "text" msgstr "" -#: club/models.py:215 +#: club/models.py:203 msgid "ambassador" msgstr "" -#: club/models.py:216 +#: club/models.py:204 msgid "ambassadors" msgstr "" -#: club/models.py:247 club/templates/club/index.html:7 +#: club/models.py:235 club/templates/club/index.html:7 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6 #: club/templates/payu/rec_payment.html:5 msgid "Towarzystwo Przyjaciół Wolnych Lektur" @@ -314,11 +318,11 @@ msgstr "" msgid "See your past support." msgstr "" -#: club/templates/club/membership_form.html:40 +#: club/templates/club/membership_form.html:41 msgid "Help us get 100 new Friends by the end of the school semester." msgstr "" -#: club/templates/club/membership_form.html:41 +#: club/templates/club/membership_form.html:42 #, python-format msgid "" "\n" @@ -333,7 +337,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: club/templates/club/membership_form.html:46 +#: club/templates/club/membership_form.html:47 #, python-format msgid "" "\n" @@ -387,7 +391,7 @@ msgid "" "\"https://nowoczesnapolska.org.pl/prywatnosc/\">privacy policy." msgstr "" -#: club/templates/club/payment_form.html:64 +#: club/templates/club/payment_form.html:65 msgid "Donate" msgstr "" diff --git a/src/club/locale/it/LC_MESSAGES/django.po b/src/club/locale/it/LC_MESSAGES/django.po index b0d70e663..5842795d9 100644 --- a/src/club/locale/it/LC_MESSAGES/django.po +++ b/src/club/locale/it/LC_MESSAGES/django.po @@ -29,7 +29,7 @@ msgstr "" msgid "Club" msgstr "" -#: club/forms.py:26 +#: club/forms.py:32 #, python-format msgid "Minimal amount is %(amount)d PLN." msgstr "" @@ -66,133 +66,137 @@ msgstr "" msgid "clubs" msgstr "" -#: club/models.py:47 +#: club/models.py:48 msgid "key" msgstr "" -#: club/models.py:48 +#: club/models.py:49 msgid "email" msgstr "" -#: club/models.py:49 club/models.py:155 +#: club/models.py:50 club/models.py:143 msgid "membership" msgstr "" -#: club/models.py:50 -msgid "payed at" -msgstr "" - #: club/models.py:51 -msgid "expires_at" -msgstr "" - -#: club/models.py:71 msgid "amount" msgstr "" -#: club/models.py:72 club/templates/club/payment_form.html:21 +#: club/models.py:52 club/templates/club/payment_form.html:21 msgid "monthly" msgstr "" -#: club/models.py:73 +#: club/models.py:53 msgid "yearly" msgstr "" -#: club/models.py:75 +#: club/models.py:55 +msgid "source" +msgstr "" + +#: club/models.py:57 msgid "cancelled" msgstr "" -#: club/models.py:76 +#: club/models.py:58 +msgid "payed at" +msgstr "" + +#: club/models.py:59 msgid "started at" msgstr "" -#: club/models.py:79 +#: club/models.py:60 +msgid "expires_at" +msgstr "" + +#: club/models.py:64 msgid "schedule" msgstr "" -#: club/models.py:80 +#: club/models.py:65 msgid "schedules" msgstr "" -#: club/models.py:147 +#: club/models.py:135 msgid "user" msgstr "" -#: club/models.py:148 +#: club/models.py:136 msgid "created at" msgstr "" -#: club/models.py:149 club/models.py:210 +#: club/models.py:137 club/models.py:198 msgid "name" msgstr "" -#: club/models.py:150 +#: club/models.py:138 msgid "manual" msgstr "" -#: club/models.py:151 +#: club/models.py:139 msgid "notes" msgstr "" -#: club/models.py:152 +#: club/models.py:140 msgid "updated at" msgstr "" -#: club/models.py:156 +#: club/models.py:144 msgid "memberships" msgstr "" -#: club/models.py:193 +#: club/models.py:181 msgid "days before" msgstr "" -#: club/models.py:194 +#: club/models.py:182 msgid "subject" msgstr "" -#: club/models.py:195 club/payu/models.py:140 +#: club/models.py:183 club/payu/models.py:140 msgid "body" msgstr "" -#: club/models.py:198 +#: club/models.py:186 msgid "reminder email" msgstr "" -#: club/models.py:199 +#: club/models.py:187 msgid "reminder emails" msgstr "" -#: club/models.py:204 +#: club/models.py:192 #, python-format msgid "a day before expiration" msgid_plural "%d days before expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:206 +#: club/models.py:194 #, python-format msgid "a day after expiration" msgid_plural "%d days after expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:211 +#: club/models.py:199 msgid "photo" msgstr "" -#: club/models.py:212 +#: club/models.py:200 msgid "text" msgstr "" -#: club/models.py:215 +#: club/models.py:203 msgid "ambassador" msgstr "" -#: club/models.py:216 +#: club/models.py:204 msgid "ambassadors" msgstr "" -#: club/models.py:247 club/templates/club/index.html:7 +#: club/models.py:235 club/templates/club/index.html:7 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6 #: club/templates/payu/rec_payment.html:5 msgid "Towarzystwo Przyjaciół Wolnych Lektur" @@ -314,11 +318,11 @@ msgstr "" msgid "See your past support." msgstr "" -#: club/templates/club/membership_form.html:40 +#: club/templates/club/membership_form.html:41 msgid "Help us get 100 new Friends by the end of the school semester." msgstr "" -#: club/templates/club/membership_form.html:41 +#: club/templates/club/membership_form.html:42 #, python-format msgid "" "\n" @@ -333,7 +337,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: club/templates/club/membership_form.html:46 +#: club/templates/club/membership_form.html:47 #, python-format msgid "" "\n" @@ -387,7 +391,7 @@ msgid "" "\"https://nowoczesnapolska.org.pl/prywatnosc/\">privacy policy." msgstr "" -#: club/templates/club/payment_form.html:64 +#: club/templates/club/payment_form.html:65 msgid "Donate" msgstr "" diff --git a/src/club/locale/lt/LC_MESSAGES/django.po b/src/club/locale/lt/LC_MESSAGES/django.po index e70c69412..b9cf4362c 100644 --- a/src/club/locale/lt/LC_MESSAGES/django.po +++ b/src/club/locale/lt/LC_MESSAGES/django.po @@ -31,7 +31,7 @@ msgstr "" msgid "Club" msgstr "" -#: club/forms.py:26 +#: club/forms.py:32 #, python-format msgid "Minimal amount is %(amount)d PLN." msgstr "" @@ -68,133 +68,137 @@ msgstr "" msgid "clubs" msgstr "" -#: club/models.py:47 +#: club/models.py:48 msgid "key" msgstr "" -#: club/models.py:48 +#: club/models.py:49 msgid "email" msgstr "" -#: club/models.py:49 club/models.py:155 +#: club/models.py:50 club/models.py:143 msgid "membership" msgstr "" -#: club/models.py:50 -msgid "payed at" -msgstr "" - #: club/models.py:51 -msgid "expires_at" -msgstr "" - -#: club/models.py:71 msgid "amount" msgstr "" -#: club/models.py:72 club/templates/club/payment_form.html:21 +#: club/models.py:52 club/templates/club/payment_form.html:21 msgid "monthly" msgstr "" -#: club/models.py:73 +#: club/models.py:53 msgid "yearly" msgstr "" -#: club/models.py:75 +#: club/models.py:55 +msgid "source" +msgstr "" + +#: club/models.py:57 msgid "cancelled" msgstr "" -#: club/models.py:76 +#: club/models.py:58 +msgid "payed at" +msgstr "" + +#: club/models.py:59 msgid "started at" msgstr "" -#: club/models.py:79 +#: club/models.py:60 +msgid "expires_at" +msgstr "" + +#: club/models.py:64 msgid "schedule" msgstr "" -#: club/models.py:80 +#: club/models.py:65 msgid "schedules" msgstr "" -#: club/models.py:147 +#: club/models.py:135 msgid "user" msgstr "" -#: club/models.py:148 +#: club/models.py:136 msgid "created at" msgstr "" -#: club/models.py:149 club/models.py:210 +#: club/models.py:137 club/models.py:198 msgid "name" msgstr "" -#: club/models.py:150 +#: club/models.py:138 msgid "manual" msgstr "" -#: club/models.py:151 +#: club/models.py:139 msgid "notes" msgstr "" -#: club/models.py:152 +#: club/models.py:140 msgid "updated at" msgstr "" -#: club/models.py:156 +#: club/models.py:144 msgid "memberships" msgstr "" -#: club/models.py:193 +#: club/models.py:181 msgid "days before" msgstr "" -#: club/models.py:194 +#: club/models.py:182 msgid "subject" msgstr "" -#: club/models.py:195 club/payu/models.py:140 +#: club/models.py:183 club/payu/models.py:140 msgid "body" msgstr "" -#: club/models.py:198 +#: club/models.py:186 msgid "reminder email" msgstr "" -#: club/models.py:199 +#: club/models.py:187 msgid "reminder emails" msgstr "" -#: club/models.py:204 +#: club/models.py:192 #, python-format msgid "a day before expiration" msgid_plural "%d days before expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:206 +#: club/models.py:194 #, python-format msgid "a day after expiration" msgid_plural "%d days after expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:211 +#: club/models.py:199 msgid "photo" msgstr "" -#: club/models.py:212 +#: club/models.py:200 msgid "text" msgstr "" -#: club/models.py:215 +#: club/models.py:203 msgid "ambassador" msgstr "" -#: club/models.py:216 +#: club/models.py:204 msgid "ambassadors" msgstr "" -#: club/models.py:247 club/templates/club/index.html:7 +#: club/models.py:235 club/templates/club/index.html:7 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6 #: club/templates/payu/rec_payment.html:5 msgid "Towarzystwo Przyjaciół Wolnych Lektur" @@ -316,11 +320,11 @@ msgstr "" msgid "See your past support." msgstr "" -#: club/templates/club/membership_form.html:40 +#: club/templates/club/membership_form.html:41 msgid "Help us get 100 new Friends by the end of the school semester." msgstr "" -#: club/templates/club/membership_form.html:41 +#: club/templates/club/membership_form.html:42 #, python-format msgid "" "\n" @@ -337,7 +341,7 @@ msgstr[1] "" msgstr[2] "" msgstr[3] "" -#: club/templates/club/membership_form.html:46 +#: club/templates/club/membership_form.html:47 #, python-format msgid "" "\n" @@ -393,7 +397,7 @@ msgid "" "\"https://nowoczesnapolska.org.pl/prywatnosc/\">privacy policy." msgstr "" -#: club/templates/club/payment_form.html:64 +#: club/templates/club/payment_form.html:65 msgid "Donate" msgstr "" diff --git a/src/club/locale/pl/LC_MESSAGES/django.mo b/src/club/locale/pl/LC_MESSAGES/django.mo index c0679319f19eb139fd5566986f70134e8d89d932..c3026be64cce48b9a82262e2348510ad5273fff6 100644 GIT binary patch delta 2995 zcmY+_Z;V`38OQOb?PALocDLI~EnDEW-F91GX}3$EY@v2a3v8iKL@HEDdw1r{?%kQW zcb&Q8b{5G1(pD3|m=Tl8i%pbZMUz5S&}dK-wh6pYM50kaCB9Ij5aMf4A*arvBINw#SW9B32R)FECTXTc6@W*>SGfQ<%Xs_%A$+e{MHh zjoTKRt-^azUwHt#@i;ER@8A;r9`@jK*oLnnUDfRm-0Yy?P5;5F^I9FPLv_@T+i?eO z#X72kpW;RM0%`)UqbBq}?8M-Fvo73(nm`8C-yO)@Esu*C-@e4nLK^PJ6?hai^J(PI zPI9>bpT}MJYy32JcbI(!*CQ*j3~s`ku^+#J=it+*=bpji_%d$9+nMD6l@J-)7jhfIir~!Y18t4V@OQ?ZfLynRC5jD{_P~ZCp>iM@(6MMgl z{F4o9V}q9CQq)#lhU#b#HPBYn%C~!O^zK9Yvb#}xJC1t(e(zUN1AQIW;^Vjmf9~7= zwuJm^0{@|b?AZsXdON*oz!j(gR-;xjh+5fos1;>UE4sj$8a44jWUY0(h8xZNmR5u9$6o3Y4&h^{L;5mmMQ>vB@ZdGn+xS({ zingOx^flD;kK!~wiFw?`EX(*q)Iu+2w&&{o-^`6p`L(E-?LlQ^A1Y;cp(dC`4P5fp zeEU)FH&81-fttwEsLY-6pZ@}t(U-6f&tSXW{}mUvPH(UGYUCW+9@N>m2Q{&*uSdQ< zfg143zJ45a$R0&fYu`q_#y{{rk2>TpqB8Uv>etl%&5geJ9%|)wNo%ExP%Bu5%D@`b z7W5-QE$g2UW)hO27JnY{#(?*e?s;1?j_`(?Xg8cYrtOQ+}S47#D-BB z*pHgPK~yG2y(MqOTSGlxM=j(Ss-MSDTlWO2{rkwvMyc};0d^DD5*b2gL6aILBH{|- z>~bBII|-%o3uk?xv+_k>FJegCK#UTHiCx6K#3ABVLK)k}_|2mI$`LxzDg{C*-b`#E zt|B%NDx90b+2zE1LZ#Hg z9Nt6doxPFx9MMPILaZgOB=i>WbI>e9Ty<7d_7i)Fn~1vzl~u&*=AACLweEUBCv&V- zwRL#V-|N7r>?3r#^MwDJ9pGLEb|bNsxPIpM3-4RdHoP-)>&$J7-=E((T6Qjo-DIWc z($tk3yE}RpjZ~vzE{aDRV;w_Xsk2;|x**91BT+dWYfN|SJydqtG|0J;D79Slaiv17 zGLclmk)jLIq~Kz6{iQG}nrmH;Oz?E&P?%aiDp%4V4olARMd}4tvtsC*8l9cTHiWg3 zi_;*=agFkkE8E0a5<6Yf#26(Fi$ONYxyCO$FKC?V{MLMTq><@bwmfA?sa2{Yp)$V88I^t@{m4kAa9jnHL z>de~Ze_60}YBb4(O!Vv|&FkrFZ#|n!O4UYR&+w8k4V9-bsFsu5l#8QAsb{P{krZ8) ziVLQ~iPH~-X^n}un!=Bpnwbj5T`o?_;Z!nN`()N8YolQ$w5Sx#p0L)irN~vL3Sk_D zRw!1pQx=C)lToFRSe3L)MoC-?%CjdL3s-)3OEZDBd{hY2q#QJ75htgg$VR@e)D>Mm ziK{l18=pOqjhq#dT;ti5Z*1gQH+$Sp|E&DtOz!kUiP3jCwQ4cShUB%xwxzC6Nv#yI Lb4lamMVEdA`<0e! delta 2242 zcmXxkTWnNC9LMp0FH$JQE^D*8euHuJsKFjPaynw&pk%eY^F}ldC4A0_n`~w$YLAF^C zOOacx7MEfZ7Go!7;sEkU!bZ4gp<&GZ<6~4ur%)YD<3>D>^_aidtOR$W1|C5r@*L)3 z5(7Ae8u%QlpC6De>@VccGIPwbG}QnXg)|gkDq~ziy$P?wcHD}4@mhQn3-D8926hgs z@gi1XE)Q$*no;*{!K2uNYjGB9Fz;#-(o%2ZLK*Es&3q4PiTY6k47hp>)$tf=CXYCu zMm<02d<~WOJE(-GP%Co5`4g(2E0|D6X{=iY=AaS?pxX0M9hV{Z+8WHqW@J0qZd9Us zP#yN7R&c-bkaGf+z~iXvPYsOQ4&|AVf56!qLhfb~zNnLSFw6&mW;DaD+Cnrqmp)H_)}W%>$+ z@JrMTzC*3VB~&6>ZzZ0MYA-}hs0Ni-Gqz(JDzO((i5^dI!B}>}-H^me>i=R0%jr$K zdplO)AnKUDh&lxyA-UUG=dAO0=K^-163$1Rf)Z51)vlgsBCN= zW-@~fcnLL=GLDR9GK{+a5T3xN@FA=$qAz?FHDEf2pN(%hsDz4;6-Zc!3*AtO8mQK} z(Y1FtyHGQIz||wDl^Vwid>ysaXHe()Nw;Z|XmQ`8xj>79q9KH=s7+UBn%l zzupnYI8|0T=ee1SO|GKv!9DJpO>HfNmRY5l(59O&yz0~*(2?CrtS4?Gv=8*E)(|~} z^%L5~d~;Hz$+;QtC3M8L5M9Jgg!ai=LZy9<)UWo1$}Pk?Lf?$}Qk`sG^l(P9vg z#GhRHw%-~IE*|Y2^!nl!_r~J>P|(Y+tEy=T)zmds*CxLS_NAq*OSa_wnwe}ZoXPNO zOUnJek~aVI5^rT{jL@LhKN5+CCnAT(-FSz`_l09&8yX(%oA8e=2 && n%10<=4) && (n" "%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n" "%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -"X-Generator: Poedit 2.3\n" +"X-Generator: Poedit 2.4.1\n" #: club/admin.py:46 msgid "payment complete" @@ -80,7 +80,7 @@ msgstr "email" msgid "membership" msgstr "członkostwo" -#: club/models.py:51 +#: club/models.py:51 club/models.py:360 msgid "amount" msgstr "kwota" @@ -208,6 +208,74 @@ msgstr "ambasadorowie" msgid "Towarzystwo Przyjaciół Wolnych Lektur" msgstr "" +#: club/models.py:342 +msgid "first name" +msgstr "imię" + +#: club/models.py:343 +msgid "last name" +msgstr "nazwisko" + +#: club/models.py:344 +msgid "sex" +msgstr "płeć" + +#: club/models.py:348 +msgid "date of birth" +msgstr "data urodzenia" + +#: club/models.py:349 +msgid "street" +msgstr "ulica" + +#: club/models.py:350 +msgid "building" +msgstr "numer domu" + +#: club/models.py:351 +msgid "flat" +msgstr "numer mieszkania" + +#: club/models.py:352 +msgid "town" +msgstr "miasto" + +#: club/models.py:353 +msgid "postal code" +msgstr "kod" + +#: club/models.py:354 +msgid "phone" +msgstr "numer telefonu" + +#: club/models.py:355 +msgid "e-mail" +msgstr "e-mail" + +#: club/models.py:356 +msgid "IBAN" +msgstr "numer rachunku" + +#: club/models.py:357 +msgid "payment identifier" +msgstr "identyfikator płatności" + +#: club/models.py:358 +msgid "agree newsletter" +msgstr "zgoda na newsletter" + +#: club/models.py:359 +msgid "date" +msgstr "data" + +#: club/models.py:363 +msgid "direct debit" +msgstr "polecenie zapłaty" + +#: club/models.py:364 +msgid "direct debits" +msgstr "polecenia zapłaty" + #: club/payu/models.py:17 club/payu/models.py:29 msgid "POS id" msgstr "" diff --git a/src/club/locale/ru/LC_MESSAGES/django.po b/src/club/locale/ru/LC_MESSAGES/django.po index eaf7afdd4..36979b99b 100644 --- a/src/club/locale/ru/LC_MESSAGES/django.po +++ b/src/club/locale/ru/LC_MESSAGES/django.po @@ -31,7 +31,7 @@ msgstr "" msgid "Club" msgstr "" -#: club/forms.py:26 +#: club/forms.py:32 #, python-format msgid "Minimal amount is %(amount)d PLN." msgstr "" @@ -68,133 +68,137 @@ msgstr "" msgid "clubs" msgstr "" -#: club/models.py:47 +#: club/models.py:48 msgid "key" msgstr "" -#: club/models.py:48 +#: club/models.py:49 msgid "email" msgstr "" -#: club/models.py:49 club/models.py:155 +#: club/models.py:50 club/models.py:143 msgid "membership" msgstr "" -#: club/models.py:50 -msgid "payed at" -msgstr "" - #: club/models.py:51 -msgid "expires_at" -msgstr "" - -#: club/models.py:71 msgid "amount" msgstr "" -#: club/models.py:72 club/templates/club/payment_form.html:21 +#: club/models.py:52 club/templates/club/payment_form.html:21 msgid "monthly" msgstr "" -#: club/models.py:73 +#: club/models.py:53 msgid "yearly" msgstr "" -#: club/models.py:75 +#: club/models.py:55 +msgid "source" +msgstr "" + +#: club/models.py:57 msgid "cancelled" msgstr "" -#: club/models.py:76 +#: club/models.py:58 +msgid "payed at" +msgstr "" + +#: club/models.py:59 msgid "started at" msgstr "" -#: club/models.py:79 +#: club/models.py:60 +msgid "expires_at" +msgstr "" + +#: club/models.py:64 msgid "schedule" msgstr "" -#: club/models.py:80 +#: club/models.py:65 msgid "schedules" msgstr "" -#: club/models.py:147 +#: club/models.py:135 msgid "user" msgstr "" -#: club/models.py:148 +#: club/models.py:136 msgid "created at" msgstr "" -#: club/models.py:149 club/models.py:210 +#: club/models.py:137 club/models.py:198 msgid "name" msgstr "" -#: club/models.py:150 +#: club/models.py:138 msgid "manual" msgstr "" -#: club/models.py:151 +#: club/models.py:139 msgid "notes" msgstr "" -#: club/models.py:152 +#: club/models.py:140 msgid "updated at" msgstr "" -#: club/models.py:156 +#: club/models.py:144 msgid "memberships" msgstr "" -#: club/models.py:193 +#: club/models.py:181 msgid "days before" msgstr "" -#: club/models.py:194 +#: club/models.py:182 msgid "subject" msgstr "" -#: club/models.py:195 club/payu/models.py:140 +#: club/models.py:183 club/payu/models.py:140 msgid "body" msgstr "" -#: club/models.py:198 +#: club/models.py:186 msgid "reminder email" msgstr "" -#: club/models.py:199 +#: club/models.py:187 msgid "reminder emails" msgstr "" -#: club/models.py:204 +#: club/models.py:192 #, python-format msgid "a day before expiration" msgid_plural "%d days before expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:206 +#: club/models.py:194 #, python-format msgid "a day after expiration" msgid_plural "%d days after expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:211 +#: club/models.py:199 msgid "photo" msgstr "" -#: club/models.py:212 +#: club/models.py:200 msgid "text" msgstr "" -#: club/models.py:215 +#: club/models.py:203 msgid "ambassador" msgstr "" -#: club/models.py:216 +#: club/models.py:204 msgid "ambassadors" msgstr "" -#: club/models.py:247 club/templates/club/index.html:7 +#: club/models.py:235 club/templates/club/index.html:7 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6 #: club/templates/payu/rec_payment.html:5 msgid "Towarzystwo Przyjaciół Wolnych Lektur" @@ -316,11 +320,11 @@ msgstr "" msgid "See your past support." msgstr "" -#: club/templates/club/membership_form.html:40 +#: club/templates/club/membership_form.html:41 msgid "Help us get 100 new Friends by the end of the school semester." msgstr "" -#: club/templates/club/membership_form.html:41 +#: club/templates/club/membership_form.html:42 #, python-format msgid "" "\n" @@ -337,7 +341,7 @@ msgstr[1] "" msgstr[2] "" msgstr[3] "" -#: club/templates/club/membership_form.html:46 +#: club/templates/club/membership_form.html:47 #, python-format msgid "" "\n" @@ -393,7 +397,7 @@ msgid "" "\"https://nowoczesnapolska.org.pl/prywatnosc/\">privacy policy." msgstr "" -#: club/templates/club/payment_form.html:64 +#: club/templates/club/payment_form.html:65 msgid "Donate" msgstr "" diff --git a/src/club/locale/uk/LC_MESSAGES/django.po b/src/club/locale/uk/LC_MESSAGES/django.po index cc5c64687..37d635fc6 100644 --- a/src/club/locale/uk/LC_MESSAGES/django.po +++ b/src/club/locale/uk/LC_MESSAGES/django.po @@ -32,7 +32,7 @@ msgstr "" msgid "Club" msgstr "" -#: club/forms.py:26 +#: club/forms.py:32 #, python-format msgid "Minimal amount is %(amount)d PLN." msgstr "" @@ -69,133 +69,137 @@ msgstr "" msgid "clubs" msgstr "" -#: club/models.py:47 +#: club/models.py:48 msgid "key" msgstr "" -#: club/models.py:48 +#: club/models.py:49 msgid "email" msgstr "" -#: club/models.py:49 club/models.py:155 +#: club/models.py:50 club/models.py:143 msgid "membership" msgstr "" -#: club/models.py:50 -msgid "payed at" -msgstr "" - #: club/models.py:51 -msgid "expires_at" -msgstr "" - -#: club/models.py:71 msgid "amount" msgstr "" -#: club/models.py:72 club/templates/club/payment_form.html:21 +#: club/models.py:52 club/templates/club/payment_form.html:21 msgid "monthly" msgstr "" -#: club/models.py:73 +#: club/models.py:53 msgid "yearly" msgstr "" -#: club/models.py:75 +#: club/models.py:55 +msgid "source" +msgstr "" + +#: club/models.py:57 msgid "cancelled" msgstr "" -#: club/models.py:76 +#: club/models.py:58 +msgid "payed at" +msgstr "" + +#: club/models.py:59 msgid "started at" msgstr "" -#: club/models.py:79 +#: club/models.py:60 +msgid "expires_at" +msgstr "" + +#: club/models.py:64 msgid "schedule" msgstr "" -#: club/models.py:80 +#: club/models.py:65 msgid "schedules" msgstr "" -#: club/models.py:147 +#: club/models.py:135 msgid "user" msgstr "" -#: club/models.py:148 +#: club/models.py:136 msgid "created at" msgstr "" -#: club/models.py:149 club/models.py:210 +#: club/models.py:137 club/models.py:198 msgid "name" msgstr "" -#: club/models.py:150 +#: club/models.py:138 msgid "manual" msgstr "" -#: club/models.py:151 +#: club/models.py:139 msgid "notes" msgstr "" -#: club/models.py:152 +#: club/models.py:140 msgid "updated at" msgstr "" -#: club/models.py:156 +#: club/models.py:144 msgid "memberships" msgstr "" -#: club/models.py:193 +#: club/models.py:181 msgid "days before" msgstr "" -#: club/models.py:194 +#: club/models.py:182 msgid "subject" msgstr "" -#: club/models.py:195 club/payu/models.py:140 +#: club/models.py:183 club/payu/models.py:140 msgid "body" msgstr "" -#: club/models.py:198 +#: club/models.py:186 msgid "reminder email" msgstr "" -#: club/models.py:199 +#: club/models.py:187 msgid "reminder emails" msgstr "" -#: club/models.py:204 +#: club/models.py:192 #, python-format msgid "a day before expiration" msgid_plural "%d days before expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:206 +#: club/models.py:194 #, python-format msgid "a day after expiration" msgid_plural "%d days after expiration" msgstr[0] "" msgstr[1] "" -#: club/models.py:211 +#: club/models.py:199 msgid "photo" msgstr "" -#: club/models.py:212 +#: club/models.py:200 msgid "text" msgstr "" -#: club/models.py:215 +#: club/models.py:203 msgid "ambassador" msgstr "" -#: club/models.py:216 +#: club/models.py:204 msgid "ambassadors" msgstr "" -#: club/models.py:247 club/templates/club/index.html:7 +#: club/models.py:235 club/templates/club/index.html:7 #: club/templates/club/index.html:13 club/templates/club/thanks.html:6 #: club/templates/payu/rec_payment.html:5 msgid "Towarzystwo Przyjaciół Wolnych Lektur" @@ -317,11 +321,11 @@ msgstr "" msgid "See your past support." msgstr "" -#: club/templates/club/membership_form.html:40 +#: club/templates/club/membership_form.html:41 msgid "Help us get 100 new Friends by the end of the school semester." msgstr "" -#: club/templates/club/membership_form.html:41 +#: club/templates/club/membership_form.html:42 #, python-format msgid "" "\n" @@ -338,7 +342,7 @@ msgstr[1] "" msgstr[2] "" msgstr[3] "" -#: club/templates/club/membership_form.html:46 +#: club/templates/club/membership_form.html:47 #, python-format msgid "" "\n" @@ -394,7 +398,7 @@ msgid "" "\"https://nowoczesnapolska.org.pl/prywatnosc/\">privacy policy." msgstr "" -#: club/templates/club/payment_form.html:64 +#: club/templates/club/payment_form.html:65 msgid "Donate" msgstr "" diff --git a/src/club/migrations/0028_directdebit.py b/src/club/migrations/0028_directdebit.py new file mode 100644 index 000000000..fce345de0 --- /dev/null +++ b/src/club/migrations/0028_directdebit.py @@ -0,0 +1,39 @@ +# Generated by Django 2.2.19 on 2021-06-15 13:27 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('club', '0027_auto_20210609_1158'), + ] + + operations = [ + migrations.CreateModel( + name='DirectDebit', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('first_name', models.CharField(blank=True, max_length=255, verbose_name='first name')), + ('last_name', models.CharField(blank=True, max_length=255, verbose_name='last name')), + ('sex', models.CharField(blank=True, choices=[('M', 'M'), ('F', 'F')], max_length=1, verbose_name='sex')), + ('date_of_birth', models.DateField(blank=True, null=True, verbose_name='date of birth')), + ('street', models.CharField(blank=True, max_length=255, verbose_name='street')), + ('building', models.CharField(blank=True, max_length=255, verbose_name='building')), + ('flat', models.CharField(blank=True, max_length=255, verbose_name='flat')), + ('town', models.CharField(blank=True, max_length=255, verbose_name='town')), + ('postal_code', models.CharField(blank=True, max_length=255, verbose_name='postal code')), + ('phone', models.CharField(blank=True, max_length=255, verbose_name='phone')), + ('email', models.CharField(blank=True, max_length=255, verbose_name='e-mail')), + ('iban', models.CharField(blank=True, max_length=255, verbose_name='IBAN')), + ('payment_id', models.CharField(blank=True, max_length=255, verbose_name='payment identifier')), + ('agree_newsletter', models.BooleanField(verbose_name='agree newsletter')), + ('date', models.DateField(verbose_name='date')), + ('amount', models.IntegerField(verbose_name='amount')), + ], + options={ + 'verbose_name': 'direct debit', + 'verbose_name_plural': 'direct debits', + }, + ), + ] diff --git a/src/club/models.py b/src/club/models.py index a8b07abc0..9a74e27b2 100644 --- a/src/club/models.py +++ b/src/club/models.py @@ -338,3 +338,28 @@ class PayUNotification(payu_models.Notification): order = models.ForeignKey(PayUOrder, models.CASCADE, related_name='notification_set') +class DirectDebit(models.Model): + first_name = models.CharField(_('first name'), max_length=255, blank=True) + last_name = models.CharField(_('last name'), max_length=255, blank=True) + sex = models.CharField(_('sex'), max_length=1, blank=True, choices=[ + ('M', 'M'), + ('F', 'F'), + ]) + date_of_birth = models.DateField(_('date of birth'), null=True, blank=True) + street = models.CharField(_('street'), max_length=255, blank=True) + building = models.CharField(_('building'), max_length=255, blank=True) + flat = models.CharField(_('flat'), max_length=255, blank=True) + town = models.CharField(_('town'), max_length=255, blank=True) + postal_code = models.CharField(_('postal code'), max_length=255, blank=True) + phone = models.CharField(_('phone'), max_length=255, blank=True) + email = models.CharField(_('e-mail'), max_length=255, blank=True) + iban = models.CharField(_('IBAN'), max_length=255, blank=True) + payment_id = models.CharField(_('payment identifier'), max_length=255, blank=True) + agree_newsletter = models.BooleanField(_('agree newsletter')) + date = models.DateField(_('date')) + amount = models.IntegerField(_('amount')) + + class Meta: + verbose_name = _('direct debit') + verbose_name_plural = _('direct debits') + -- 2.20.1