/
balance-email.txt
38 lines (27 loc) · 1.32 KB
/
balance-email.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Subject: "[makerbot] Account balance {{ user}} {{ balance.balance }}
Dear {{ user }},
Your current account balanace is {{ balance.balance }}; which means that
you {% if goodstanding %}do not have to do anything.
{% else %}should do a payment as soon as possible.
Do this by wiring your balance plus a little extra, {{ topup }} euro,
to the {{ settings.PETTYCASH_IBAN }} its bank account.
You can find the account details and a QR code (if your bank supports
this) on {{ base }}{% url 'manual_deposit' %}.
With regard to the deposits into the bank acount; last import of the
bank-statements with your deposits was done on {{ last_import.date}}
by {{ last_import.by }}.
{% endif %}
See {{ base }}{% url 'mytransactions' %} for the full details.
Yours,
the makerspace bot, on behalf of the trustees (bestuur@makerspaceleiden.nl).
{% for tx in transactions %}
{% if tx.src == user and tx.dst == user %}
Balance previous billing cycle {{ tx.amount}}
{% else %}{% if tx.src == user %}{{tx.date}} {{ tx.description }}
af {{ tx.amount }}
{% endif %}{% if tx.dst == user %}{{tx.date}}
{{ tx.description }}
bij {{ tx.amount }}
{% endif %}{% endif %}{% endfor %}
Balance {{ balance.balance }}
See more at {{ base }}{% url 'transactions' pk=user.id%}