{% load markdown %} {% load i18n %}
{% if not disable_selection %} {% endif %}
{% if not transaction.deleted %} {% if transaction.is_paid %}{% else %}{% endif %} {% else %}
{% if transaction.is_paid %}{% else %}{% endif %}
{% endif %}
{# Date#}
{{ transaction.date|date:"SHORT_DATE_FORMAT" }} • {{ transaction.reference_date|date:"b/Y" }}
{# Description#}
{% spaceless %} {{ transaction.description }} {% if transaction.installment_plan and transaction.installment_id %} {{ transaction.installment_id }}/{{ transaction.installment_plan.installment_total_number }} {% endif %} {% if transaction.recurring_transaction %} {% endif %} {% if transaction.dca_expense_entries.all or transaction.dca_income_entries.all %} {% trans 'DCA' %} {% endif %} {% endspaceless %}
{# Entities #} {% with transaction.entities.all as entities %} {% if entities %}
{{ entities|join:", " }}
{% endif %} {% endwith %} {# Notes#} {% if transaction.notes %}
{{ transaction.notes | limited_markdown | linebreaksbr }}
{% endif %} {# Category#} {% if transaction.category %}
{{ transaction.category.name }}
{% endif %} {# Tags#} {% with transaction.tags.all as tags %} {% if tags %}
{{ tags|join:", " }}
{% endif %} {% endwith %}
{# Exchange Rate#} {% with exchanged=transaction.exchanged_amount %} {% if exchanged %}
{% endif %} {% endwith %}
{% if transaction.account.group %}{{ transaction.account.group.name }} • {% endif %}{{ transaction.account.name }}
{# Item actions#}
{% if not transaction.deleted %} {% else %} {% endif %}