8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00
re2o/cotisations
histausse b317eceec3 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
2021-01-24 16:36:16 +01:00
..
api Split the membership duration from the connection duration 2021-01-24 16:36:16 +01:00
locale/fr/LC_MESSAGES Add thumbnail to user model 2021-01-24 16:36:16 +01:00
migrations Split the membership duration from the connection duration 2021-01-24 16:36:16 +01:00
payment_methods Fix cheque cotisations being saved twice 2020-02-15 12:30:37 +00:00
templates/cotisations Split the membership duration from the connection duration 2021-01-24 16:36:16 +01:00
__init__.py Hello Lara :D 2019-10-01 13:37:56 +02:00
acl.py Fix can_view_app 2021-01-24 16:36:16 +01:00
admin.py Fix some translations in cotisations/ 2021-01-24 16:36:16 +01: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 2021-01-24 16:36:16 +01:00
test_models.py Split the membership duration from the connection duration 2021-01-24 16:36:16 +01:00
test_views.py Split the membership duration from the connection duration 2021-01-24 16:36:16 +01: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 2021-01-24 16:36:16 +01: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 2021-01-24 16:36:16 +01:00