{% extends 'base.html.twig' %} {% block stylesheets %} {% endblock %} {% block body %}
{% if settings.image %} {% endif %}

{{ settings.name }}

Complimentary Multi Point Inspection

DATE: {{ repair_order.mpi.0.date|date('m/d/Y h:i a') }}

ADVISOR: {{ repair_order.advisor.firstName }}

TECHNICIAN: {{ repair_order.technician.firstName }} {{ repair_order.technician.lastName }}

YEAR / MAKE / MODEL: {% if repair_order.year %} {{ repair_order.year }} / {{ repair_order.make }} / {{ repair_order.model }} {% endif %}

VIN: {{ repair_order.vin }}

MILES: {{ repair_order.miles }}

RO #: {{ repair_order.number }}

Legend

CHECKED AND OK AT THIS TIME
MAY NEED FUTURE ATTENTION
REQUIRE IMMEDIATE ATTENTION
NOT INSPECTED AT THIS TIME

{% for result in repair_order.mpi.0.results.results %}

{{ result.group }} {% if 'Brakes' in result.group %} (mm) {% endif %} {% if 'Tires' in result.group %} (inches) {% endif %}

{% for item in result.items %}
{% if not item.special %} {% if item.value == 'green' %}
{% endif %} {% if item.value == 'yellow' %}
{% endif %} {% if item.value == 'red' %}
{% endif %} {% if item.value == 'grey' %}
{% endif %} {% else %} {% if item.value >= 0.001 and item.value<= 3 %}
{% endif %} {% if item.value >= 4 and item.value<= '6' %}
{% endif %} {% if item.value >= 7 and item.value<= 1000 %}
{% endif %} {% if item.value == 'grey' %}
{% endif %} {% endif %}
{% if item.value == 'grey' %} {% elseif item.special %} {{ item.value }} / {% if 'Brakes' in result.group %} 10 - {% else %} 32 - {% endif %} {% endif %} {{ item.name }}
{% endfor %}
{% endfor %}
{% endblock %}