{% extends "lingo/invoicing/manager_regie_payer_list.html" %} {% load gadjo i18n %} {% block page-title-extra-label %}{% trans "Payer transactions" %} | {{ block.super }}{% endblock %} {% block breadcrumb %} {{ block.super }} {{ payer_external_id }} {% endblock %} {% block appbar %}

{% blocktrans %}Transactions of payer "{{ payer_external_id }}"{% endblocktrans %}

{% if user_can_invoice %} {% trans "Get full ODS file" %} {% trans "Get ODS file" %} {% endif %} {% endblock %} {% block content %}
{% trans "Transaction Filtering" %}
{{ filterset.form|with_template }}
{% for line in object_list %} {% endfor %}
{% trans "Invoicing object" %} {% trans "Creation date" %} {% trans "Payer" %} {% trans "User" %} {% trans "Activity" %} {% trans "Event" %} {% trans "Accounting code" %} {% trans "Description" %} {% trans "Event date" %} {% trans "Unit amount" %} {% trans "Quantity" %} {% trans "Total amount" %}
{{ line.invoicing_element_number }} {{ line.invoicing_element_created_at|date:"d/m/Y" }} {% if line.invoicing_element_date_invoicing %} ({{ line.invoicing_element_date_invoicing|date:"d/m/Y" }}) {% endif %} {{ line.invoicing_element_payer_name }} {{ line.user_name }} ({{ line.user_external_id }}) {{ line.activity_label }} {% if line.agenda_slug %}
({{ line.agenda_slug }}){% endif %}
{{ line.label }} {% if line.event_slug and '@' in line.event_slug %}
({{ line.event_slug|split:"@"|get:1 }}){% endif %}
{{ line.accounting_code }} {% if not line.details.partial_bookings %} {% if line.details.check_type_label %} {{ line.details.check_type_label }}
{% elif line.details.status == 'absence' %} {% trans "Absence" %}
{% endif %} {% endif %} {% if line.display_description %} {{ line.description }} {% endif %}
{% if line.details.dates %}{% for d in line.details.dates %}{{ d|date:"d/m/Y" }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %} {% blocktrans with amount=line.invoicing_element_unit_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %} {{ line.invoicing_element_quantity|floatformat }} {% blocktrans with amount=line.invoicing_element_total_amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %}
{% include "gadjo/pagination.html" %}
{% endblock %} {% block sidebar %} {% endblock %}