8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 00:13:12 +00:00
re2o/cotisations/api
histausse ff784f36f8 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-09-25 14:25:21 +02:00
..
__init__.py First draft of moving api functions into each apps 2020-04-21 16:00:08 +02:00
serializers.py Split the membership duration from the connection duration 2020-09-25 14:25:21 +02:00
urls.py Clear api generation 2020-04-21 16:00:08 +02:00
views.py Clear api generation 2020-04-21 16:00:08 +02:00