{% 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 %}
{% trans "Account" %}
{% trans "Debit" %}
{% trans "Credit" %}
{% trans "DateTime" %}
{% trans "Description" %}
{% 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 "Total:" %}
{{ total_debit }}
{{ total_credit }}
{% endif %}
{% trans "Total by Account:" %}
{% trans "Account" %}
{% trans "Total" %}
{% for acctnum in account_numbers %}
{{ acctnum.account_number }}
{{ acctnum.description }}
{{ acctnum.total|format_currency }}
{% endfor %}
{% endblock %}