8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-10-31 23:22:49 +00:00
Commit graph

17 commits

Author SHA1 Message Date
6558cfc1eb fix: 🐛 Fix send_mail_voucher function 2021-01-24 16:37:09 +01:00
69f78d8c60 Ça se dit Rézo Metz 'tain 2021-01-24 16:37:09 +01:00
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
6900c153d1 Move both send_mail utils to same file 2021-01-24 16:33:31 +01:00
cd097cd428 Also catch ConnectionError when sending mails 2021-01-24 16:33:31 +01:00
cb9ae34418 Make emails throw timeout errors, and gracefully handle them 2021-01-24 16:33:31 +01:00
ca3b3af1c2 Fix wrong template used for invoices sent by email 2021-01-24 16:33:31 +01:00
Hugo Levy-Falk
c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00
Hugo Levy-Falk
6171f42b66 Get the right mandate when creating voucher. 2019-10-01 19:30:35 +02:00
Hugo Levy-Falk
6dd4e776c1 Make use of mandates everywhere. 2019-10-01 19:30:34 +02:00
klafyvel
657ef77bfe Remove contributor levy arcas 2019-09-24 00:44:16 +02:00
Hugo LEVY-FALK
b83bfc0da9 Fix #123 Subscription voucher 2019-01-20 16:44:22 +01:00
Hugo LEVY-FALK
48d8d7921d subscripbtion voucher 2019-01-20 16:41:11 +01:00
detraz
5b347f3db4 Fix, utilise la bonne fonction d'envoie de mails 2018-09-08 21:17:08 +02:00
Delphine SALVY
9dd54a99a5 Fix 141 : envoi des factures par mail 2018-08-15 23:56:49 +02:00
Hugo LEVY-FALK
8e12fefa2c Documentation des paiements personnalisés 2018-07-12 14:42:13 +02:00
Hugo LEVY-FALK
0fe430d72e Ajout de comnpay + fix de l'utilisation des paiements personnalisés 2018-07-12 14:40:16 +02:00