{% extends "core/base.jinja" %} {% block title %} {% trans %}Edit operation{% endtrans %} {% endblock %} {% block content %}

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


{% trans %}Edit operation{% endtrans %}

{% csrf_token %} {{ form.non_field_errors() }} {{ form.journal }} {{ form.target_id }}

{{ form.amount.errors }} {{ form.amount }}

{{ form.remark.errors }} {{ form.remark }}


{% trans %}Warning: if you select Account, the opposite operation will be created in the target account. If you don't want that, select Club instead of Account.{% endtrans %}

{{ form.target_type.errors }} {{ form.target_type }}

{{ form.user }} {{ form.club }} {{ form.club_account }} {{ form.company }} {{ form.target_label }} {{ form.need_link }}

{{ form.date.errors }} {{ form.date }}

{{ form.mode.errors }} {{ form.mode }}

{{ form.cheque_number.errors }} {{ form.cheque_number }}

{{ form.invoice.errors }} {{ form.invoice }}

{{ form.simpleaccounting_type.errors }} {{ form.simpleaccounting_type }}

{{ form.accounting_type.errors }} {{ form.accounting_type }}

{{ form.label.errors }} {{ form.label }}

{{ form.done.errors }} {{ form.done }}

{% if form.instance.linked_operation %} {% set obj = form.instance.linked_operation %}

{% trans %}Linked operation:{% endtrans %}
{{obj.journal.club_account.bank_account }} > {{ obj.journal.club_account }} > {{ obj.journal }} > n°{{ obj.number }}

{% endif %}

{% endblock %} {% block script %} {{ super() }}
{% endblock %}