| Month | Earned | Spend | Balance | |
|---|---|---|---|---|
| {{ month.name }} | {{ month.earned | round(method="common", precision=2) }} | {{ month.spent | round(method="common", precision=2) }} | {% set balance = month.earned - month.spent %} {% if balance >= 0 %}{{ balance | round(method="common", precision=2) }} | {% else %}{{ balance | round(method="common", precision=2) }} | {% endif %}
| {% if balance_sum >= 0 %} | {{ balance_sum| round(method="common", precision=2) }} | {% else %}{{ balance_sum | round(method="common", precision=2) }} | {% endif %}