{% extends "base.html" %} {% block title %} Équilibre {% endblock title %} {% block main %}
{% if exceeding_payers %} {% else %}

Les paiements sont équilibrés.

{% endif %} {% if incomes_from %}

Revenus

Montant Part
{% for user_income in user_incomes %}
{{ user_income.0 }} {{ user_income.1 | euros() }} {% if total_income > 0 %} {{ user_income.1 / total_income * 100 | round() }} % {% else %} – {% endif %}
{% endfor %}
Total {{ total_income | euros() }} 100 %
{% endif %}

Paiements

Montant Part
{% for user_payment in user_payments %}
{{ user_payment.0 }} {{ user_payment.1 | euros() }} {% if total_payments > 0 %} {{ user_payment.1 / total_payments * 100 | round() }} % {% else %} – {% endif %}
{% endfor %}
Total {{ total_payments | euros() }} 100 %
{% endblock main %}