{% extends "base.html" %} {% block title %}Report preview — session {{ session.id }}{% endblock %} {% block nav_extra %} Back to checklist Download PDF {% endblock %} {% block content %}

Acceptance report preview

What's about to land in the PDF, rendered as HTML for a sanity check.

VIN{{ session.vin or "(not provided)" }}
Location{{ session.location or "(not provided)" }}
Started{{ session.created_at.strftime("%Y-%m-%d %H:%M") }} UTC
Signed {% if session.signed_at %}{{ session.signed_at.strftime("%Y-%m-%d %H:%M") }} UTC{% else %}(unsigned){% endif %}
Steps{{ total }} total
{% for cat in categories %} {% set rows = by_category[cat] %} {% if rows %}

{{ cat }}

{% for step, result in rows %}
{% if result %} {{ result.status }} {% else %} PENDING {% endif %} {{ step.title }}
{{ step.description }}
{% if result and result.note %}
Note: {{ result.note }}
{% endif %}
{% endfor %}
{% endif %} {% endfor %} {% endblock %}