{% extends "djangobmf/module_detail.html" %} {% load i18n %} {% load djangobmf_core %} {% block title %}{% trans "Transaction" %}: {{ object.text }}{% endblock %} {% block base_content %}

{% trans "Transaction" %}: {{ object.text }}

{% if object.draft %} {% endif %} {% for obj in object.items.all %} {% if obj.draft %} {% else %} {% endif %} {% endfor %}
{% trans "Date" %} {% trans "Account" %} {% trans "Debit" %} {% trans "Credit" %}
{{ object.balance_debit }} {{ object.balance_credit }}
{% if obj.draft %} {% else %} {% endif %} {{ obj.modified|date:"SHORT_DATE_FORMAT" }} {{ obj.account }} {% if not obj.credit %}{{ obj.amount }}{% endif %} {% if obj.credit %}{{ obj.amount }}{% endif %}
{{ block.super }} {% endblock %}