{% load django_ledger %} {% load trans from i18n %} {% if not txf.instance.is_children %}
{% csrf_token %}
#{{ forloop.counter }} {% icon 'mdi:calendar' 16 %} {{ txf.instance.date_posted }} {{ txf.instance.name }}
{% currency_symbol %}{{ txf.instance.amount | currency_format }} {% if txf.instance.matches_found and txf.instance.matches_found > 0 %} {% trans 'Matches' %}: {{ txf.instance.matches_found }} {% endif %} {% if txf.instance.can_import %} {% trans 'Can import' %} {% else %} {% trans 'Cannot import' %} {% endif %}
{% for hidden_field in txf.hidden_fields %}{{ hidden_field }}{% endfor %} {% if txf.instance.has_children %}

{% trans 'Total Split' %}: {% currency_symbol %}{{ txf.instance.total_amount_split | currency_format }}

{% endif %} {% if txf.instance.is_transfer or txf.instance.is_debt_payment %}
{{ txf.match_tx_model }}
{% if txf.instance.is_matched %}

{{ txf.instance.matches_found }} match {% if txf.instance.matches_found > 1 %}es{% endif %}

{% endif %}
{% endif %}
{{ txf.account_model }}
{% if txf.instance.can_have_activity %} {% if txf.instance.can_have_activity and txf.instance.get_prospect_je_activity_display %}

{% icon 'lets-icons:check-fill' 16 %} {% trans 'Transaction Activity' %}: {{ txf.instance.get_prospect_je_activity_display }}

{% elif txf.instance.bundle_split %}

{% icon 'ooui:block' 16 %} {% trans 'Invalid or Pending Account Mapping.' %}

{% endif %} {% endif %} {% if txf.errors %} {% for i,err in txf.errors.items %}

{{ err }}

{% endfor %} {% endif %}
{% if txf.instance.can_split %}
{% endif %} {% if txf.instance.can_unbundle %}
{% endif %}
{% if txf.instance.has_children %}

{% trans 'Splits' %}

{% for cform in staged_txs_formset %} {% if cform.instance.parent_id == txf.instance.uuid %} {% for hidden_field in cform.hidden_fields %} {{ hidden_field }}{% endfor %}
{% trans 'Child' %} {{ cform.instance.name }}
{{ cform.amount_split }}
{% if cform.errors %} {% for i,err in cform.errors.items %}

{{ err }}

{% endfor %} {% endif %}
{% endif %} {% endfor %}
{% endif %}
{% trans 'More options' %}
{{ txf.unit_model }}
{{ txf.receipt_type }}
{{ txf.customer_model }}
{{ txf.vendor_model }}
{% if txf.instance.can_have_amount_split %}
{{ txf.amount_split }}
{% endif %}
{% endif %}