ihatemoney/ihatemoney/templates/settle_bills.html
2022-12-11 17:49:42 -05:00

29 lines
890 B
HTML

{% 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|currency }}</td>
<!-- <td>
<a href="{{ url_for('.settle_paid') }}" class="btn btn-primary " data-toggle="modal" data-keyboard="false" data-target="#bill-form">
Settle
</a>
</td> -->
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}