{% load i18n %} {% load django_ledger %}
{% regroup staged_pending_qs by group_uuid as pending_groups %} {% for group in pending_groups %} {% for stx in group.list %} {# Row highlighting for readability #} {% endfor %} {% empty %} {% endfor %}
{% trans 'Date Posted' %} {% trans 'Description' %} {% trans 'Amount' %} {% trans 'Activity' %} {% trans 'Entity Unit' %} {% trans 'Map To' %} {% trans 'Receipt' %} {% trans 'Status' %} {% trans 'Actions' %}
{% trans 'Bundle' %} {{ forloop.counter }} — {% trans 'Parent' %}: {% with parent_tx=group.list.0.parent|default:group.list.0 %} {{ parent_tx.date_posted }} · {{ parent_tx.name }} · {% currency_symbol %}{{ parent_tx.get_amount }} {% if parent_tx.get_activity_display %} · {{ parent_tx.get_activity_display }}{% endif %} {% endwith %} {% if group.list.0.is_bundled %}{% trans 'Bundled' %}{% else %} {% trans 'Not Bundled' %}{% endif %}
{% trans 'No pending transactions.' %}