aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/transactions_by_ac.html
blob: ea4aee9fe885e475d2336eaa18a8e28c7cdec0d7 (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
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>[% config.sitename %]: Transactions for [% account %]</title>
        [%- INCLUDE head.html -%]
    </head>
    <body>
        [%- INCLUDE body_top.html -%]
        <h1 id='mgnavt'><a href="index.html">treasurer</a> » [% account %]</h1>

        <div class="content">
            <h1>Mageia.Org transactions for [% account %]</h1>
            <h2>Summary</h2>
            <ul>
                <li>
                <b>Balance</b>: [% transactions.by_ac.$ac.balance %] Euros
                </li>
            </ul>
            <h2>Details</h2>
            <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_ac.$ac.transactions.sort('date').reverse %]
                [%- INCLUDE tra_row.html %]
                [%- END -%]
            </table>
        </div>
    </body>
</html>