Send mail to users when the note balance is negative
This commit is contained in:
parent
51fbde23b9
commit
efc2b6b0b0
13 changed files with 218 additions and 26 deletions
12
templates/note/mails/negative_notes_report.txt
Normal file
12
templates/note/mails/negative_notes_report.txt
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{% load pretty_money %}
|
||||
|
||||
Nom | Prénom | Pseudo | Email | Solde | Durée
|
||||
---------------------+------------+-----------------+-----------------------------------+----------+-----------
|
||||
{% for note in notes %}
|
||||
{{ note.user.last_name }} | {{ note.user.first_name }} | {{ note.user.username }} | {{ note.user.email }} | {{ note.balance|pretty_money }} | {{ note.last_negative_duration }}
|
||||
{% endfor %}
|
||||
|
||||
--
|
||||
Le BDE
|
||||
|
||||
Mail généré par la Note Kfet le {% now "j F Y à H:i:s" %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue