{% extends "lingo/invoicing/manager_campaign_detail.html" %} {% load i18n %} {% block breadcrumb %} {{ block.super }} {% trans "Pool" %} {% endblock %} {% block appbar %}

{% if pool.success_count %}{{ pool.success_count }}{% endif %} {% if pool.warning_count %}{{ pool.warning_count }}{% endif %} {% if pool.error_count %}{{ pool.error_count }}{% endif %} {{ pool.created_at|date:"DATETIME_FORMAT" }}

{% if pool.draft and pool.status != 'registered' and pool.status != 'running' %} {% trans "Delete" %} {% endif %} {% endblock %} {% block content %} {% if pool.status == 'failed' %}

{% trans "Error while running pool." %}

{% if pool.exception %}
{{ pool.exception }}
{% endif %}
{% endif %} {% for line in lines %} {% endfor %}
{% trans "PK" %} {% trans "Invoice PK" %} {% trans "Label" %} {% trans "Event" %} {% trans "Quantity" %} {% trans "Unit amount" %} {% trans "Total amount" %} {% trans "User" %} {% trans "Payer" %} {% trans "Status" %}
{{ line.pk }} {{ line.invoice_id|default:'' }} {{ line.label }} {{ line.event.slug }} {{ line.quantity }} {{ line.unit_amount }} {{ line.total_amount }} {{ line.user_external_id }} {{ line.payer_external_id }} {{ line.get_status_display }} {% if line.status != 'success' %}({{ line.get_error_display }}){% endif %} {% trans "see details" %}
{{ line.pricing_data|pprint }}
{% endblock %}