{% extends "base.html" %} {% load humanize erp_tags %} {% block title %}{{ page_title }}{% endblock %} {% block content %}
{{ account.full_name|default:account.name }}

{{ account.account_number|default:"no number" }} · {{ account.get_account_type_display }}{% if account.account_subtype %} / {{ account.get_account_subtype_display }}{% endif %} · normal side {{ normal_side }} {% if not account.is_active %}· placeholder{% endif %}

{% if q_company %}{% endif %}
{% if is_date_filtered %}

Opening balance

{{ opening_balance|money }}

brought forward

{% endif %}

Debits

{{ total_debit|money }}

in period

Credits

{{ total_credit|money }}

in period

{% if is_date_filtered %}

Period movement

{{ period_movement|money }}
{% endif %}

Closing balance

{{ closing_balance|money }}

{% if is_date_filtered %}opening + period{% else %}all dates{% endif %}

{% if is_date_filtered %} {% endif %} {% for line in lines %} {% empty %} {% endfor %}
Date Entry Name Description Debit Credit Balance
{{ date_from }} Opening balance brought forward — — {{ opening_balance|money }}
{{ line.entry.entry_date|date:"Y-m-d" }} {{ line.entry.entry_number|default:line.entry.source_reference|default:"—" }} {{ line.entity_name|default:"—" }} {{ line.description|truncatechars:70|default:"—" }} {% if line.debit_amount %}{{ line.debit_amount|money }}{% else %}—{% endif %} {% if line.credit_amount %}{{ line.credit_amount|money }}{% else %}—{% endif %} {{ line.running_balance|money }}
No lines in this range.
{% if is_paginated %} {% endif %}
{% endblock %}