{% extends "v1/base_email.html" %} {% block subject %}Invoice Bot – Processing summary{% endblock %} {% block header_subtitle %}Processing summary{% endblock %} {% block tag_text %}Summary{% endblock %} {% block content %}

{{ intro_html | safe }}

{% if show_stats %}
Processed OK
{{ n_ok }}
With errors
{{ n_err }}
{% endif %}
Per-invoice details
{% for r in results_view %} {% endfor %}
# File Status Details
{{ r.index }} {{ r.filename }} {% if r.status == "Processed" %} {{ r.status }} {% else %} {{ r.status }} {% endif %} {% if r.details %} {% for line in r.details %} {{ line | safe }}{% if not loop.last %}
{% endif %} {% endfor %} {% else %} – {% endif %}

{{ footer_note | safe }}

{% endblock %}