{% load i18n %}{% spaceless %}
{% trans "Date" %} | {% trans "Account" %} | {% trans "Debit" %} | {% trans "Credit" %} | ||
---|---|---|---|---|---|
{{ object.balance_debit }} | {{ object.balance_credit }} | ||||
{% if obj.draft %} {% else %} {% endif %} {{ obj.date|date:"SHORT_DATE_FORMAT" }} | {{ obj.account }} | {% if not obj.credit %}{{ obj.amount }}{% endif %} | {% if obj.credit %}{{ obj.amount }}{% endif %} | {% if obj.draft %}{% else %} | {% endif %} |