{% extends 'hordak/base.html' %} {% load hordak %} {% block page_name %}Reconcile Bank Statements{% endblock %} {% block page_description %}What did you spend money on?{% endblock %} {% block content %} {% block table_header %} {% endblock table_header %} {% for line in statement_lines %} {% block reconcile_row %} {% endblock reconcile_row %} {% if line == reconcile_line %} {% block reconcile_action_row %} {% endblock reconcile_action_row %} {% endif %} {% empty %} {% endfor %}
Date Amount Description Account
{{ line.date }} {{ line.amount|color_currency }} {{ line.description }} {% if line.transaction %} {% for leg in line.transaction.legs.all %} {% if leg.account != line.statement_import.bank_account %} {{ leg.account }} {% endif %} {% endfor %} {% elif line != reconcile_line %}
{% endif %}
{% if leg_formset.non_form_errors %}
    {% for error in leg_formset.non_form_errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{% csrf_token %} {% block reconcile_form_content %} {% block reconcile_form_content_transaction_form %} {{ transaction_form }} {% endblock %}
{{ leg_formset.management_form }} {% for form in leg_formset %} {% block leg_formset %} {% endblock %} {% endfor %}
{{ form.amount }} {{ form.description }} {{ form.account }}
{% endblock reconcile_form_content %}
{% block nothing_to_reconcile %}Nothing to reconcile, you are up to date{% endblock %}
{% block pagination %} {% endblock %} {% block actions %}

Cancel

{% endblock %} {% endblock %}