Add real BD fee

This commit is contained in:
Jean-Baptiste Doderlein 2022-08-30 07:54:39 +00:00
parent 8a03defc37
commit 121c49a5b6
11 changed files with 188 additions and 28 deletions

View file

@ -189,7 +189,7 @@ class NoteClub(Note):
def send_mail_negative_balance(self):
plain_text = render_to_string("note/mails/negative_balance.txt", dict(note=self))
html = render_to_string("note/mails/negative_balance.html", dict(note=self))
send_mail("[Note Kfet] Passage en négatif (club {})".format(self.club.name), plain_text,
send_mail("[Note Ker Lann] Passage en négatif (club {})".format(self.club.name), plain_text,
settings.DEFAULT_FROM_EMAIL, [self.club.email], html_message=html)