{% extends "sidebar_table_layout.html" %}
{% block sidebar %}
{% set balance = g.project.balance %}
{% for member in g.project.members | sort(attribute='name') if member.activated or balance[member.id]|round(2) != 0 %}
{{ member.name }} |
{% if balance[member.id]|round(2) > 0 %}+{% endif %}{{ "%.2f" | format(balance[member.id]) }}
|
{% endfor %}
{% endblock %}
{% block content %}
{{ _("Who pays?") }} | {{ _("To whom?") }} | {{ _("How much?") }} |
{% for bill in bills %}
{{ bill.ower }} |
{{ bill.receiver }} |
{{ "%0.2f"|format(bill.amount) }} |
{% endfor %}
{% endblock %}