WIP: don notification

This commit is contained in:
Adrien Bourmault 2022-10-09 00:31:32 +02:00
parent da5409d941
commit 295616545e
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ def notify_unpaid(record):
mailtext = mailtext.replace("NOM_DONNEUR", name) mailtext = mailtext.replace("NOM_DONNEUR", name)
mailtext = mailtext.replace("NUMERO_DON", str(record)) mailtext = mailtext.replace("NUMERO_DON", str(record))
mailtext = mailtext.replace("MONTANT_DON", amount) mailtext = mailtext.replace("MONTANT_DON", amount)
mailtext = mailtext.replace("MODE_DON", year) mailtext = mailtext.replace("MODE_DON", mode)
mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS) + "\n" mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS) + "\n"
mailheaders = mailheaders.replace("COURRIEL_DONNEUR", email) mailheaders = mailheaders.replace("COURRIEL_DONNEUR", email)