{% load i18n %} {% load title %} {% with c=event.currency %} {% filter site_title %}{{ event.name }} :: {% translate 'Report' %}{% endfilter %} {% include 'includes/head/favicons.html' %} {% include 'includes/styles.html' %}

{{ event.name }}

{% if event.description %}

{{ event.description }}

{% endif %}

{% blocktranslate count counter=active_participants_count %}{{ counter }} person{% plural %}{{ counter }} people{% endblocktranslate %} · {% translate 'Group total' %} · {% now "SHORT_DATE_FORMAT" %}

{% translate 'Settle up' %}

{% if transfers %} {% for item in transfers %}{% with t=item.transfer %} {% endwith %}{% endfor %}
{{ t.from_participant.name }} {{ t.to_participant.name }}
{% else %}

{% translate 'Everyone is settled up.' %}

{% endif %}

{% translate 'Balances' %}

{% for row in balance_rows %}{% with b=row.balance %} {% endwith %}{% endfor %}
{% translate 'Person' %} {% translate 'Paid' %} {% translate 'Share' %} {% translate 'Sent' %} {% translate 'Received' %} {% translate 'Balance' %}
{{ b.participant.name }}{% if not b.participant.is_active %} ({% translate 'inactive' %}){% endif %}

{% translate 'Expenses' %}

{% for item in activity %}{% if not item.is_payment %} {% endif %}{% endfor %} {% if not expense_count %}{% endif %}
{% translate 'Date' %} {% translate 'Expense' %} {% translate 'Amount' %}
{{ item.date|date:"SHORT_DATE_FORMAT" }}
{{ item.description }}
{% blocktranslate with name=item.paid_by.name %}Paid by {{ name }}{% endblocktranslate %} {% if item.split_type != 'EQUAL' %}· {{ item.get_split_type_display }}{% endif %}
{% for s in item.shares.all %}{{ s.participant.name }} {% if not forloop.last %} · {% endif %}{% endfor %}
{% if item.notes %}
{{ item.notes }}
{% endif %}
{% translate 'No expenses.' %}

{% translate 'Payments' %}

{% for item in activity %}{% if item.is_payment %} {% endif %}{% endfor %} {% if not payment_count %}{% endif %}
{% translate 'Date' %} {% translate 'Payment' %} {% translate 'Amount' %}
{{ item.date|date:"SHORT_DATE_FORMAT" }} {{ item.from_participant.name }} {{ item.to_participant.name }} {% if item.notes %}
{{ item.notes }}
{% endif %}
{% translate 'No payments.' %}
{% include 'includes/scripts.html' %} {% endwith %}