{% extends "invoices/base.html" %} {% load base_filters %} {% load invoice_tags %} {% load accounting_tags %} {% block title %}{{ block.super }}{% trans 'Invoice Accounting Entries View'%}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}
{% trans "View Invoice:" %} {{ invoice.id }}

{% if acct_entries %} {% for acct_entry in acct_entries%} {# bad unused div here, but i want to pass the entry_class to acct_entry_item #} {% acct_entry_item acct_entry entry_class %} {% endfor %}
{% trans "Account" %} {% trans "Debit" %} {% trans "Credit" %} {% trans "DateTime" %} {% trans "Description" %}
{% trans "Total:" %} {{ total_debit }} {{ total_credit }}  
{% endif %}

{% trans "Total by Account:" %}

{% for acctnum in account_numbers %} {% endfor %}
{% trans "Account" %}   {% trans "Total" %}
{{ acctnum.account_number }} {{ acctnum.description }} {{ acctnum.total|format_currency }}
{% trans "View All Account Numbers" %}
{% endblock %}