{% extends "core/base.jinja" %} {% block title %} {% trans %}General journal:{% endtrans %} {{ object.name }} {% endblock %} {% block content %}

{% trans %}Statement by person: {% endtrans %} {{ object.name }}

{% trans %}Credit{% endtrans %}

{% for key in credit_statement.keys() %} {% if key.target_type == "OTHER" %} {% elif key %} {% else %} {% endif %} {% endfor %}
{% trans %}Target of the operation{% endtrans %} {% trans %}Sum{% endtrans %}
{{ o.target_label }}{{ key.get_display_name() }}{{ credit_statement[key] }}

Total : {{ total_credit }}

{% trans %}Debit{% endtrans %}

{% for key in debit_statement.keys() %} {% if key.target_type == "OTHER" %} {% elif key %} {% else %} {% endif %} {% endfor %}
{% trans %}Target of the operation{% endtrans %} {% trans %}Sum{% endtrans %}
{{ o.target_label }}{{ key.get_display_name() }}{{ debit_statement[key] }}

Total : {{ total_debit }}

{% endblock %}