{% extends "base.html" %}
{% block title %}{{ conf.title }}{% endblock %}
{% block content %}
{{ conf.title }}
Retour au sommaire
| Résultat |
{% for period in expenses.periods() %}
{{ period }} |
{% endfor %}
|
| {{ conf.expenses.title }} |
{% set last = None %}
{% for period in expenses.periods() %}
{% set current = expenses.balance(period=period) %}
{% include "inc/value-percent.html" %}
{% set last = current %}
{% endfor %}
|
| {{ conf.incomes.title }} |
{% set last = None %}
{% for period in incomes.periods() %}
{% set current = incomes.balance(period=period) %}
{% include "inc/value-percent.html" %}
{% set last = current %}
{% endfor %}
|
| Résultat |
{% set last = None %}
{% for period in expenses.periods() %}
{% set current = expenses.balance(period=period) + incomes.balance(period=period) %}
{% include "inc/value-percent.html" %}
{% set last = current %}
{% endfor %}
|
| {{ conf.expenses.title }} |
{% for period in expenses.periods() %}
{{ period }} |
{% endfor %}
|
|
{% if conf.expenses.parts %}
{% for partconf in conf.expenses.parts %}
{% with title=partconf.title, part=expenses.extract(match=partconf.account, depth=partconf.depth) %}
{% include "inc/income-statement-part.html" %}
{% endwith %}
{% endfor %}
{% else %}
{% with part=expenses %}
{% include "inc/income-statement-part.html" %}
{% endwith %}
{% endif %}
|
| Total |
{% set last = None %}
{% for period in expenses.periods() %}
{% set current = expenses.balance(period=period) %}
{% include "inc/value-percent.html" %}
{% set last = current %}
{% endfor %}
|
| {{ conf.incomes.title }} |
{% for period in incomes.periods() %}
{{ period }} |
{% endfor %}
|
|
{% if conf.incomes.parts %}
{% for partconf in conf.incomes.parts %}
{% with title=partconf.title, part=incomes.extract(match=partconf.account, depth=partconf.depth) %}
{% include "inc/income-statement-part.html" %}
{% endwith %}
{% endfor %}
{% else %}
{% with part=incomes %}
{% include "inc/income-statement-part.html" %}
{% endwith %}
{% endif %}
|
| Total |
{% set last = None %}
{% for period in incomes.periods() %}
{% set current = incomes.balance(period=period) %}
{% include "inc/value-percent.html" %}
{% set last = current %}
{% endfor %}
|
{% endblock %}