diff --git a/apps/scripts b/apps/scripts index f41a5a32..630fc9a0 160000 --- a/apps/scripts +++ b/apps/scripts @@ -1 +1 @@ -Subproject commit f41a5a32f7417a874b497640373ea3911eb1e133 +Subproject commit 630fc9a0dfd611c3e3a0b159c7c10ebf3747af5e diff --git a/templates/note/mails/weekly_report.html b/templates/note/mails/weekly_report.html new file mode 100644 index 00000000..e093554b --- /dev/null +++ b/templates/note/mails/weekly_report.html @@ -0,0 +1,41 @@ +{% load pretty_money %} +{% load render_table from django_tables2 %} + + + +
+ ++ Rapport d'activité de {{ user.first_name }} {{ user.last_name }} (note : {{ user }}) + depuis le {{ last_week }} jusqu'au {{ now }}. +
+ +
+ Dépenses totales : {{ outcoming|pretty_money }}
+ Apports totaux : {{ incoming|pretty_money }}
+ Différentiel : {{ diff|pretty_money }}
+ Nouveau solde : {{ user.note.balance|pretty_money }}
+
+ Le BDE
+ Mail généré par la Note Kfet le {% now "j F Y à H:i:s" %}
+