{% extends 'base.html' %} {% load i18n cashbook_extras %} {% block title %}{% trans "Transaction" %} #{{ tx.id }}{% endblock %} {% block content %}

{% trans "Transaction" %} #{{ tx.id }}

{% trans "Date" %}: {{ tx.date }}
{% trans "Type" %}: {{ tx.get_ttype_display }}
{% trans "Credit" %}: {% if tx.is_credit %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}
{% trans "Account" %}: {{ tx.account.name }}
{% trans "Category" %}: {% if tx.category %}{{ tx.category.name }}{% else %}-{% endif %}
{% trans "Amount" %}: {{ tx.amount }} {{ biz.currency|currency_label }}
{% trans "Description" %}:
{{ tx.description|default:"-" }}
{% if tx.contact %}
{% trans "Contact" %}:
{{ tx.contact.name }}{% if tx.contact.phone %} — {{ tx.contact.phone }}{% endif %}
{% endif %}
{% endblock %}