{% extends "lingo/invoicing/manager_pool_detail.html" %} {% load i18n %} {% block breadcrumb %} {{ block.super }} {% trans "Journal" %} {% 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 "Event" %} {% trans "Quantity" %} {% trans "Unit amount" %} {% trans "Total amount" %} {% trans "User" %} {% trans "Payer" %} {% trans "Status" %}
{{ line.pk }} {{ line.invoice_id|default:'' }} {{ line.event_date|date:"d/m/Y" }} - {{ line.label }}
({{ line.slug }})
{{ line.quantity }} {{ line.unit_amount }} {{ line.total_amount }} {{ line.user_name }} ({{ line.user_external_id }}) {{ line.payer_external_id }} {{ line.get_status_display }} {% if line.status != 'success' %}({{ line.get_error_display }}){% endif %} {% if line.from_injected_line_id %}({% trans "Injected" %}){% endif %} {% trans "see details" %}
{% trans "Pricing data:" %}
{{ line.pricing_data|pprint }}
{% trans "Event:" %}
{{ line.event|pprint }}
{% endblock %}