{% load base_filters %} {% load i18n %}

Totals

{% for item in results %} {% endfor %}
App Count Total Payments Balance
{{ item.object_type }} {{ item.count }} invoices {{ item.total__sum|format_currency }} {{ item.payments_credits__sum|format_currency }} {{ item.balance__sum|format_currency }}
TOTAL {{ totals.count }} invoices {{ totals.total|format_currency }} {{ totals.payments_credits|format_currency }} {{ totals.balance|format_currency }}

The following apps had data for the selected date range and are included in this report. Click to jump to a specific section:

    {% for item in results %}
  1. {{ item.object_type }}
  2. {% endfor %}
{% for item in results %}

{{ forloop.counter }}. {{ item.object_type }} Back to Top

Count Total Payments Balance
{{ item.count }} invoices {{ item.total__sum|format_currency }} {{ item.payments_credits__sum|format_currency }} {{ item.balance__sum|format_currency }}

Invoices for {{ item.object_type }} sorted by Date

{% for summary in item.summary %} {% with summary.invoices.0 as invoice %} invoice.total %} pay-extra{% endif %} {% if invoice.payments_credits == invoice.total and invoice.balance == invoice.total and invoice.total > 0 %} all-match{% endif %}"> {% endwith %} {% endfor %}
Title Total Payments Balance
{% if invoice.get_object.event.pk %} {{ invoice.get_object.event.pk }} - {{ invoice.get_object.event.title|truncatewords:"3" }} {% elif invoice.get_object.membership_type %} {{ invoice.get_object.membership_type }} {% elif invoice.title %}{{ invoice.title }}{% endif %} {{ summary.total|format_currency }} {{ summary.payments_credits|format_currency }} {{ summary.balance|format_currency }}
Title Total Payments Balance
Summary {{ item.total__sum|format_currency }} {{ item.payments_credits__sum|format_currency }} {{ item.balance__sum|format_currency }}
{% endfor %}