Improve greatly the counter right management

This commit is contained in:
Skia
2016-07-18 00:47:56 +02:00
parent e92a73dfb1
commit 593050d9e2
14 changed files with 181 additions and 64 deletions

View File

@ -180,21 +180,34 @@ SITH_MAIN_CLUB = {
'unix_name': "ae",
'address': "6 Boulevard Anatole France, 90000 Belfort"
}
# Bar managers
SITH_BAR_MANAGER = {
'name': "BdF",
'unix_name': "bdf",
'address': "6 Boulevard Anatole France, 90000 Belfort"
}
# Define the date in the year serving as reference for the subscriptions calendar
# (month, day)
SITH_START_DATE = (8, 15) # 15th August
SITH_GROUPS = {
'root': {
'id': 1,
'name': "root",
},
'accounting-admin': {
'id': 2,
'name': "accounting-admin",
'name': "Root",
},
'public': {
'id': 2,
'name': "Not registered users",
},
'accounting-admin': {
'id': 3,
'name': "not-registered-users",
'name': "Accounting admin",
},
'counter-admin': {
'id': 4,
'name': "Counter admin",
},
}
@ -217,6 +230,12 @@ SITH_SUBSCRIPTION_PAYMENT_METHOD = [
('other', 'Autre'),
]
SITH_COUNTER_BARS = [
(1, "Foyer"),
(2, "MDE"),
(3, "La Gommette"),
]
SITH_COUNTER_PAYMENT_METHOD = [
('cheque', 'Chèque'),
('cash', 'Espèce'),