WIP: contrôle cotisation
This commit is contained in:
parent
b731be1efc
commit
06cca0f5a2
|
@ -225,12 +225,12 @@ def notify_unpaid(member):
|
||||||
BUF.append(" NOTIFICATION MEMBRE")
|
BUF.append(" NOTIFICATION MEMBRE")
|
||||||
BUF.append("")
|
BUF.append("")
|
||||||
|
|
||||||
mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS) + "\n"
|
mailtext = get_file_content_all(MODALITY_MAIL) + "\n"
|
||||||
mailheaders = mailheaders.replace("NOM_COTISANT", name)
|
mailtext = mailtext.replace("NOM_COTISANT", name)
|
||||||
mailheaders = mailheaders.replace("NUMERO_MEMBRE", str(numero))
|
mailtext = mailtext.replace("NUMERO_MEMBRE", str(numero))
|
||||||
mailheaders = mailheaders.replace("MONTANT_COTISATION", amount)
|
mailtext = mailtext.replace("MONTANT_COTISATION", amount)
|
||||||
mailtext = get_file_content_all(MODALITY_MAIL).replace("ANNEE_CIVILE", year)
|
mailheaders = get_file_content_all(MODALITY_MAIL_HEADERS).replace("ANNEE_CIVILE", year)
|
||||||
mailtext = mailtext.replace("COURRIEL-COTISANT", email)
|
mailheaders = mailheaders.replace("COURRIEL-COTISANT", email)
|
||||||
|
|
||||||
sendmail(mailheaders, mailtext)
|
sendmail(mailheaders, mailtext)
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue