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