{% extends "layout.html" %} {% block content %}

Computations

  1. For each person, get the list of bills he have to pay
  2. Increase the amount this person have to pay
  3. At the same time, increase what the payer of the bill have to receive
  4. At the end, for each person, substract what he have to pay to what he have to receive
Mark this as payed / processed
{% for name, balance in balances.items() %} {% endfor %}
NameBalance
{{ name }}{{ balance }}
{% endblock %}