{% extends "base.html" %} {% block title %}Trésorerie{% endblock %} {% block content %}

{{ conf.title }}

Retour au sommaire

{% for partconf in conf.parts %}

{{ partconf.title }}

{% with part=accounting_year.extract( match=partconf.account, aggregations=partconf.aggregations, depth=partconf.depth, ) %} {% for period in part.periods() %} {% endfor %} {% with account=None %} {% for period in part.periods() %} {% with credit=part.credit(account, period) %} {% endwith %} {% endfor %} {% for period in part.periods() %} {% endfor %} {% for period in part.periods() %} {% with debit=part.debit(account, period) %} {% endwith %} {% endfor %} {% endwith %} {% for account in part.accounts() %} {% for period in part.periods() %} {% with credit=part.credit(account, period) %} {% endwith %} {% endfor %} {% for period in part.periods() %} {% endfor %} {% for period in part.periods() %} {% with debit=part.debit(account, period) %} {% endwith %} {% endfor %} {% endfor %}
{{ part.account_root() }}{{ period.month_name() }}
Total{% if credit %}{{ "%+.0f"|format(credit) }}{% endif %}
{{ "%.0f"|format(part.balance(account, period)) }}
{% if debit %}{{ "%+.0f"|format(debit) }}{% endif %}
{{ account }}{% if credit %}{{ "%+.0f"|format(credit) }}{% endif %}
{{ "%.0f"|format(part.balance(account, period)) }}
{% if debit %}{{ "%+.0f"|format(debit) }}{% endif %}
{% endwith %} {% endfor %} {% endblock %}