{% load main_extras %} {% load i18n %}
{% if new_transaction_url %}

{% translate "New transaction" %}

{% endif %} {% if transactions_url %}

{% translate "View all transactions" %}

{% endif %} {% if not category %} {% endif %} {% if not account %} {% endif %} {% if not category %} {% endif %} {% if not account %} {% endif %} {% for trans in transactions %} {% if not category %} {% if trans.category %} {% else %} {% endif %} {% endif %} {% if not account %} {% endif %} {% endfor %}
{% translate "Date" %} {% translate "Name" %} {% translate "Value" %} {% translate "Trader" %}{% translate "Category" %}{% translate "Account" %}
{% for invoice in trans.invoices %} {% endfor %} {{ trans.date|date:"Y-m-d" }} {{ trans.name }} {{ trans.value|pmvalue }} {{ trans.trader|default_if_none:"–" }} {{ trans.category }} {{ trans.account }}
{% comment %}
{% if new_transaction_url %}
{% translate "New transaction" %}
{% endif %} {% for trans in transactions %}
{{ trans.description }}
{% endfor %} {% if transactions_url %}
{% translate "View all transactions" %}
{% endif %}
{% endcomment %}