8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-07-02 04:04:06 +00:00
re2o/cotisations
histausse 640499a9e2 Split the membership duration from the connection duration
changes:

Article:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership

Vente:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership
add method `test_membership_or_connection()` to replace
`bool(type_cotisation)`

Cotisation:
remove COTISATION_TYPE, date_start, date_end, type_cotisation
add date_start_con, date_end_con, date_start_memb, date_end_memb

create_cotis(date_start=False) -> create_cotis(date_start_con=False, date_start_memb=False)

+ migration
+ changes to use the new models in the remaining of the code
2020-10-08 22:22:48 +02:00
..
api Split the membership duration from the connection duration 2020-10-08 22:22:48 +02:00
locale/fr/LC_MESSAGES Add thumbnail to user model 2020-05-17 12:51:05 +02:00
migrations Split the membership duration from the connection duration 2020-10-08 22:22:48 +02:00
payment_methods Fix cheque cotisations being saved twice 2020-02-15 15:09:48 +01:00
templates/cotisations Split the membership duration from the connection duration 2020-10-08 22:22:48 +02:00
__init__.py Hello Lara :D 2019-10-01 13:37:56 +02:00
acl.py Fix can_view_app 2020-08-29 11:07:18 +02:00
admin.py Fix some translations in cotisations/ 2020-06-01 18:21:21 +02:00
forms.py Mark strings for translation in cotisations 2019-11-24 23:27:55 +01:00
models.py Split the membership duration from the connection duration 2020-10-08 22:22:48 +02:00
test_models.py Split the membership duration from the connection duration 2020-10-08 22:22:48 +02:00
test_views.py Split the membership duration from the connection duration 2020-10-08 22:22:48 +02:00
tex.py Mark strings for translation in cotisations 2019-11-24 23:27:55 +01:00
urls.py I like my black. 2019-11-04 22:47:24 +01:00
utils.py Split the membership duration from the connection duration 2020-10-08 22:22:48 +02:00
validators.py I like my black. 2019-11-04 22:47:24 +01:00
views.py Split the membership duration from the connection duration 2020-10-08 22:22:48 +02:00