{% load main_extras %} {% load i18n %}
{% translate "New transaction" %}
{% endif %} {% if transactions_url %}{% translate "View all transactions" %}
{% endif %}{% translate "Date" %} | {% translate "Name" %} | {% translate "Value" %} | {% translate "Trader" %} | {% if not category %}{% translate "Category" %} | {% endif %} {% if not account %}{% translate "Account" %} | {% endif %} {% for trans in transactions %}|||||
---|---|---|---|---|---|---|---|---|---|---|
{% for invoice in trans.invoices %} {% 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 %}{{ trans.account }} | {% endif %}