mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
Uppercase some choices in settings
This commit is contained in:
parent
1529af32c5
commit
d824d0d928
19
accounting/migrations/0014_auto_20160807_1954.py
Normal file
19
accounting/migrations/0014_auto_20160807_1954.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('accounting', '0013_auto_20160807_1923'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='operation',
|
||||||
|
name='mode',
|
||||||
|
field=models.CharField(max_length=255, verbose_name='payment method', choices=[('CHEQUE', 'Check'), ('CASH', 'Cash'), ('TRANSFert', 'Transfert'), ('CARD', 'Credit card')]),
|
||||||
|
),
|
||||||
|
]
|
24
counter/migrations/0015_auto_20160807_1954.py
Normal file
24
counter/migrations/0015_auto_20160807_1954.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('counter', '0014_auto_20160804_1603'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='refilling',
|
||||||
|
name='bank',
|
||||||
|
field=models.CharField(max_length=255, verbose_name='bank', choices=[('OTHER', 'Autre'), ('LA-POSTE', 'La Poste'), ('CREDIT-AGRICOLE', 'Credit Agricole'), ('CREDIT-MUTUEL', 'Credit Mutuel')], default='other'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='refilling',
|
||||||
|
name='payment_method',
|
||||||
|
field=models.CharField(max_length=255, verbose_name='payment method', choices=[('CHEQUE', 'Check'), ('CASH', 'Cash')], default='cash'),
|
||||||
|
),
|
||||||
|
]
|
@ -43,6 +43,7 @@ INSTALLED_APPS = (
|
|||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
'django.contrib.sites',
|
'django.contrib.sites',
|
||||||
'django_jinja',
|
'django_jinja',
|
||||||
|
'rest_framework',
|
||||||
'core',
|
'core',
|
||||||
'club',
|
'club',
|
||||||
'subscription',
|
'subscription',
|
||||||
@ -50,6 +51,7 @@ INSTALLED_APPS = (
|
|||||||
'counter',
|
'counter',
|
||||||
'eboutic',
|
'eboutic',
|
||||||
'launderette',
|
'launderette',
|
||||||
|
'api',
|
||||||
)
|
)
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = (
|
MIDDLEWARE_CLASSES = (
|
||||||
@ -245,16 +247,16 @@ SITH_MAIN_BOARD_GROUP=SITH_MAIN_CLUB['unix_name']+SITH_BOARD_SUFFIX
|
|||||||
SITH_MAIN_MEMBERS_GROUP=SITH_MAIN_CLUB['unix_name']+SITH_MEMBER_SUFFIX
|
SITH_MAIN_MEMBERS_GROUP=SITH_MAIN_CLUB['unix_name']+SITH_MEMBER_SUFFIX
|
||||||
|
|
||||||
SITH_ACCOUNTING_PAYMENT_METHOD = [
|
SITH_ACCOUNTING_PAYMENT_METHOD = [
|
||||||
('cheque', _('Check')),
|
('CHEQUE', _('Check')),
|
||||||
('cash', _('Cash')),
|
('CASH', _('Cash')),
|
||||||
('transfert', _('Transfert')),
|
('TRANSFert', _('Transfert')),
|
||||||
('card', _('Credit card')),
|
('CARD', _('Credit card')),
|
||||||
]
|
]
|
||||||
|
|
||||||
SITH_SUBSCRIPTION_PAYMENT_METHOD = [
|
SITH_SUBSCRIPTION_PAYMENT_METHOD = [
|
||||||
('cheque', _('Check')),
|
('CHEQUE', _('Check')),
|
||||||
('cash', _('Cash')),
|
('CASH', _('Cash')),
|
||||||
('other', _('Other')),
|
('OTHER', _('Other')),
|
||||||
]
|
]
|
||||||
|
|
||||||
SITH_SUBSCRIPTION_LOCATIONS = [
|
SITH_SUBSCRIPTION_LOCATIONS = [
|
||||||
@ -270,15 +272,15 @@ SITH_COUNTER_BARS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
SITH_COUNTER_PAYMENT_METHOD = [
|
SITH_COUNTER_PAYMENT_METHOD = [
|
||||||
('cheque', _('Check')),
|
('CHEQUE', _('Check')),
|
||||||
('cash', _('Cash')),
|
('CASH', _('Cash')),
|
||||||
]
|
]
|
||||||
|
|
||||||
SITH_COUNTER_BANK = [
|
SITH_COUNTER_BANK = [
|
||||||
('other', 'Autre'),
|
('OTHER', 'Autre'),
|
||||||
('la-poste', 'La Poste'),
|
('LA-POSTE', 'La Poste'),
|
||||||
('credit-agricole', 'Credit Agricole'),
|
('CREDIT-AGRICOLE', 'Credit Agricole'),
|
||||||
('credit-mutuel', 'Credit Mutuel'),
|
('CREDIT-MUTUEL', 'Credit Mutuel'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Subscription durations are in semestres (should be settingized)
|
# Subscription durations are in semestres (should be settingized)
|
||||||
|
19
subscription/migrations/0004_auto_20160807_1954.py
Normal file
19
subscription/migrations/0004_auto_20160807_1954.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('subscription', '0003_subscription_location'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='subscription',
|
||||||
|
name='payment_method',
|
||||||
|
field=models.CharField(max_length=255, verbose_name='payment method', choices=[('CHEQUE', 'Check'), ('CASH', 'Cash'), ('OTHER', 'Other')]),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user