{% extends "base.html" %} {% block title %}Shop Inspection Portal - {{ settings.company_name }}{% endblock %} {% block content %}

Mechanical Inspection Portal

Review each report, then approve & stamp (or request changes / revoke). Use the checkboxes for bulk approval.

{% if shop.name %}

{{ shop.name }}{% if shop.license %} · Licence {{ shop.license }}{% endif %}

{% endif %}
{# Status filter #}
All {% for s in ('pending', 'changes_requested', 'approved', 'revoked') %} {{ s|replace('_',' ')|title }} {% endfor %}

If a range is given, each approved report gets a random date within it — so a batch doesn't all show the same approval day.

{% for r in rows %} {% else %} {% endfor %}
Vehicle Powertrain Status Generated Action
{{ r.l_year }} {{ r.l_make }} {{ r.l_model }} {{ r.l_trim or '' }}
{{ r.l_stock or '' }}
{{ r.powertrain_type }} {% if r.status == 'approved' %}Approved {% elif r.status == 'pending' %}Pending {% elif r.status == 'changes_requested' %}Changes requested {% elif r.status == 'revoked' %}Revoked{% endif %} {{ (r.generated_at or '')[:10] }} Open
No inspection reports yet.
{% endblock %}