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

{% trans %}Accounting{% endtrans %} > {{object.club_account.bank_account }} > {{ object.club_account }} > {{ object.name }}


{% trans %}General journal:{% endtrans %} {{ object.name }}

{% trans %}New label{% endtrans %}

{% trans %}Label list{% endtrans %}

{% trans %}Company list{% endtrans %}

{% trans %}Amount: {% endtrans %}{{ object.amount }} € - {% trans %}Effective amount: {% endtrans %}{{ object.effective_amount }} €

{% if object.closed %}

{% trans %}Journal is closed, you can not create operation{% endtrans %}

{% else %}

{% trans %}New operation{% endtrans %}


{% endif %}
{% for o in object.operations.all() %} {% if o.accounting_type.movement_type == "DEBIT" %} {% else %} {% endif %} {% if o.target_type == "OTHER" %} {% else %} {% endif %} {% if o.done %} {% else %} {% endif %} {% if o.invoice %} {% else %} {% endif %} {% endfor %}
{% trans %}Nb{% endtrans %} {% trans %}Date{% endtrans %} {% trans %}Label{% endtrans %} {% trans %}Amount{% endtrans %} {% trans %}Payment mode{% endtrans %} {% trans %}Target{% endtrans %} {% trans %}Code{% endtrans %} {% trans %}Nature{% endtrans %} {% trans %}Done{% endtrans %} {% trans %}Comment{% endtrans %} {% trans %}File{% endtrans %} {% trans %}Actions{% endtrans %} {% trans %}PDF{% endtrans %}
{{ o.number }} {{ o.date }} {{ o.label or "" }} {{ o.amount }} € {{ o.amount }} €{{ o.get_mode_display() }}{{ o.target_label }}{{ o.target.get_display_name() }}{{ o.accounting_type.code }} {{ o.accounting_type.label }}{% trans %}Yes{% endtrans %}{% trans %}No{% endtrans %}{{ o.remark }} {% if not o.linked_operation and o.target_type == "ACCOUNT" and not o.target.has_open_journal() %}

{% trans %}Warning: this operation has no linked operation because the targeted club account has no opened journal.{% endtrans %}

{% trans url=o.target.get_absolute_url() %}Open a journal in this club account, then save this operation again to make the linked operation.{% endtrans %}

{% endif %}
{{ o.invoice.name }}- {% if o.journal.club_account.bank_account.name not in ["AE TI", "TI"] or user.is_in_group(pk=settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %} {% if not o.journal.closed %} {% trans %}Edit{% endtrans %} {% endif %} {% endif %} {% trans %}Generate{% endtrans %}
{% endblock %}