8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 15:33:45 +00:00
Commit graph

6 commits

Author SHA1 Message Date
chapeau
92dc1a2699 Fix a 500 error on /api/cotisations/cotisation/ api route 2024-02-19 15:57:59 +01:00
ec2b4afd41 style: 🎨 Apply black and isort 2021-02-14 09:29:10 +01:00
d1d4ea6af3
Ça se dit Rézo Metz 'tain 2020-11-23 17:06:37 +01:00
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
chapeau
035f447fdd Clear api generation 2020-04-21 16:00:08 +02:00
chapeau
bdfd15b853 First draft of moving api functions into each apps 2020-04-21 16:00:08 +02:00