WIP: contrôle cotisation

This commit is contained in:
Adrien Bourmault 2022-09-15 00:21:58 +02:00
parent e3078cf4e4
commit b731be1efc
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ def notify_unpaid(member):
mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS) + "\n" mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS) + "\n"
mailheaders = mailheaders.replace("NOM_COTISANT", name) mailheaders = mailheaders.replace("NOM_COTISANT", name)
mailheaders = mailheaders.replace("NUMERO_MEMBRE", numero) mailheaders = mailheaders.replace("NUMERO_MEMBRE", str(numero))
mailheaders = mailheaders.replace("MONTANT_COTISATION", amount) mailheaders = mailheaders.replace("MONTANT_COTISATION", amount)
mailtext = get_file_content_all(MODALITY_MAIL).replace("ANNEE_CIVILE", year) mailtext = get_file_content_all(MODALITY_MAIL).replace("ANNEE_CIVILE", year)
mailtext = mailtext.replace("COURRIEL-COTISANT", email) mailtext = mailtext.replace("COURRIEL-COTISANT", email)
@ -249,7 +249,7 @@ def renotify_unpaid(member):
mailtext = get_file_content_all(MODALITY_MAIL) + "\n" mailtext = get_file_content_all(MODALITY_MAIL) + "\n"
mailtext = mailtext.replace("NOM_COTISANT", name) mailtext = mailtext.replace("NOM_COTISANT", name)
mailtext = mailtext.replace("NUMERO_MEMBRE", numero) mailtext = mailtext.replace("NUMERO_MEMBRE", str(numero))
mailtext = mailtext.replace("MONTANT_COTISATION", amount) mailtext = mailtext.replace("MONTANT_COTISATION", amount)
mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS).replace("ANNEE_CIVILE", year) mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS).replace("ANNEE_CIVILE", year)
mailheaders = mailheaders.replace("COURRIEL-COTISANT", email) mailheaders = mailheaders.replace("COURRIEL-COTISANT", email)