aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/settle_bills.html
blob: a9b0dbc25b8a68fe48583527ec4b1a8977f491aa (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
{% extends "sidebar_table_layout.html" %}

{% block sidebar %}
    <div id="table_overflow">
        {{ balance_table(show_weight=False) }}
    </div>
{% endblock %}


{% block content %}
    <table id="bill_table" class="split_bills table table-striped">
        <thead><tr><th>{{ _("Who pays?") }}</th><th>{{ _("To whom?") }}</th><th>{{ _("How much?") }}</th></tr></thead>
    <tbody>
    {% for bill in bills %}
    <tr receiver={{bill.receiver.id}}>
            <td>{{ bill.ower }}</td>
            <td>{{ bill.receiver }}</td>
            <td>{{ bill.amount|currencyformat_nc(g.project.default_currency) }}</td>
    </tr>
    {% endfor %}
    </tbody>
    </table>

{% endblock %}