{% extends "base.html" %} {% load arrayutil %} {% load python %} {% load humanize %} {% load ledger %} {% block javascript %} {{ date_form.media|safe }} {% endblock %} {% block css %} {% endblock %} {% block title %}Account Ledger{% endblock %} {% block content %}
{{ account.number }}: {{ account.name }} {% if from_date or to_date %} ({{ from_date }}--{{ to_date }}) {% endif %} — {{ account.type|capfirst }} | ||||||||
---|---|---|---|---|---|---|---|---|
Date | Business | Memo | Debit | Credit | R | Balance | ||
{% if perms.ledger.change_exchange %} {% if transaction.exchange %} {{ transaction.date }} {% else %} {{ transaction.date }} {% endif %} {% else %} {{ transaction.exchange.date }} {% endif %} | {% if transaction.exchange.business %} {% if perms.crm.view_business %} {{ transaction.exchange.business }} {% else %} {{ transaction.exchange.business }} {% endif %} {% endif %} | {{ transaction.memo|truncatewords:"8" }} | {% ifequal account transaction.credit %}{{ transaction.total|currency }} | {% else %}{{ transaction.total|currency }} | {% endifequal %} | {% ifequal account transaction.credit %} {% else %} {% endifequal %} {% if reconcile_enabled %} {% endif %} | {{ transaction.balance|currency }} | |
Reconciled Balance: | ${{ call_python_result|currency }} | |||||||
All transactions in this date range: | ${{ call_python_result|currency }} |