blob: 063094ee97247df8b8c00a23f9ac69a70fb11e37 (
plain)
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
39
40
41
42
43
44
45
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>[% config.sitename %]: Transactions for [% month %]</title>
</head>
<body>
<h1>Mageia.Org accounts transactions for month [% month %]</h1>
<h3>Summary</h3>
<ul>
<li>
<b>Start balance</b>: [% transactions.by_month.$month.start_balance %] Euros
</li>
<li>
<b>End balance</b>: [% transactions.by_month.$month.end_balance %] Euros
</li>
<li>
<b>Revenues</b>: [% transactions.by_month.$month.revenues %] Euros
</li>
<li>
<b>Expenses</b>: [% transactions.by_month.$month.expenses %] Euros
</li>
</ul>
<h3>By category</h3>
<ul>
[% FOR ca IN transactions.by_month.$month.ca_balance.keys %]
<li><b>[% transactions.by_ca.$ca.c_name %]</b>: [% transactions.by_month.$month.ca_balance.$ca %] Euros</b></li>
[%- END -%]
</ul>
<h3>Details</h3>
<table border="1">
<tr>
<th>Date</th>
<th>Amount</th>
<th>Account</th>
<th>Who</th>
<th>Notes</th>
<th>Category</th>
</tr>
[%- USE date(format='%Y/%m/%d') -%]
[%- FOR tra IN transactions.by_month.$month.transactions.sort('date').reverse %]
[%- INCLUDE tra_row.html %]
[%- END -%]
</table>
</body>
</html>
|