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

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


{% trans %}Club account:{% endtrans %} {{ object.name }}

{% if user.is_root and not object.journals.exists() %} {% trans %}Delete{% endtrans %} {% endif %} {% if user.is_in_group(pk=settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %}

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

{% endif %}

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

{% if not object.has_open_journal() %}

{% trans %}New journal{% endtrans %}

{% else %}

{% trans %}You can not create new journal while you still have one opened{% endtrans %}

{% endif %} {% for j in object.journals.all() %} {% if j.end_date %} {% else %} {% endif %} {% if j.closed %} {% else %} {% endif %} {% endfor %}
{% trans %}Name{% endtrans %} {% trans %}Start{% endtrans %} {% trans %}End{% endtrans %} {% trans %}Amount{% endtrans %} {% trans %}Effective amount{% endtrans %} {% trans %}Closed{% endtrans %} {% trans %}Actions{% endtrans %}
{{ j.name }} {{ j.start_date }}{{ j.end_date }} - {{ j.amount }} € {{ j.effective_amount }} €{% trans %}Yes{% endtrans %}{% trans %}No{% endtrans %} {% trans %}View{% endtrans %} {% trans %}Edit{% endtrans %} {% if user.is_in_group(pk=settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) and j.operations.count() == 0 %} {% trans %}Delete{% endtrans %} {% endif %}
{% endblock %}