{% extends "admin/base_site.html" %} {% load i18n admin_urls %} {% block breadcrumbs %} {% endblock %} {% block content %}

{% blocktranslate count counter=rows|length with valid=valid_count %}{{ valid }} of {{ counter }} invoice is a valid e-invoice.{% plural %}{{ valid }} of {{ counter }} invoices are valid e-invoices.{% endblocktranslate %} {% translate 'Nothing was stored or sent.' %}

{% for row in rows %} {% endfor %}
{% translate 'Invoice' %} {% translate 'Customer' %} {% translate 'Provider' %} {% translate 'Result' %} {% translate 'Findings' %}
{{ row.invoice.number }} {{ row.invoice.customer_name }} {{ row.provider }} {% if row.valid %}{% translate 'valid' %}{% else %}{% translate 'not valid' %}{% endif %} {% if row.problem %}

{{ row.problem }}

{% endif %} {% if row.errors or row.warnings %}
    {% for finding in row.errors %}
  • {{ finding.rule_id }} {{ finding.message }} ({{ finding.source }})
  • {% endfor %} {% for finding in row.warnings %}
  • {{ finding.rule_id }} {{ finding.message }} ({{ finding.source }}, {% translate 'warning' %})
  • {% endfor %}
{% elif not row.problem %}—{% endif %}

{% translate 'Back to invoices' %}

{% endblock %}