{# params include #}
{% include TEMPLATE_HEADER_PORTRAIT %}
|
{% if attestationType == 'internal' %}
DEMANDE DE TRAVAUX INTERNE |
{% elseif attestationType == 'workshop' %}
ATTESTATION DE TRAVAUX |
{% else %}
DEMANDE DE TRAVAUX |
{% endif %}
{% if attestationType == 'internal' %}
Véhicule {% if attestationType == 'internal' %}, livraison prévue le :{{ vehicle.follow.deliveredDate|date("d/m/Y") }} {% endif %} |
|
{% elseif attestationType == 'workshop' %}
{% else %}
|
Nous avons le plaisir de vous remettre le véhicule ci-dessous, livraison prévue le : {{ vehicle.follow.deliveredDate|date("d/m/Y") }} |
{% endif %}
{# params include #}
{% set vehicle = vehicle %}
{% set askWork = true %}
{% set displaySellPrice = false %}
{% include TEMPLATE_BASE_VEHICLE_TABLE %}
|
|
{% if attestationType == 'internal' %}
Travaux à effectuer sur ce véhicule |
|
{% else %}
A cette occasion, veuillez trouver ci-dessous le détail des travaux que nous avons réalisés sur ce véhicule : |
{% endif %}
{% if attestationType == 'internal' %}
Travaux à effectuer |
{% else %}
Travaux effectués |
{% endif %}
Le |
{% if attestationType != 'workshop' %}
Par |
{% endif %}
{% if worksElements is empty %}
{% set worksElements = expertise.worksElements %}
{% endif %}
{% for workElement in worksElements %}
{% if workElement.element is not empty %}{{ workElement.element }}{% endif %} |
{% if workElement.dateOfDistribution is not empty %}{{ workElement.dateOfDistribution|date("d/m/Y") }}{% endif %} |
{% if attestationType != 'workshop' %}
{% if workElement.companion is not empty %}
{{ workElement.companion }}
{% endif %}
|
{% endif %}
{% endfor %}
|
{% if workshop is defined and workshop.noteList is not empty %}
Remarques :
{% for note in workshop.noteList %}
{% if note.title is not empty %} {{ note.title }} {% endif %}
{% if note.content is not empty %} {{ note.content| truncate(150, true, '...') }} {% endif %}
{% endfor %}
{% endif %}
{% if expertise is defined and expertise.comment is not empty %}
Remarques :
{{ expertise.comment| truncate(150, true, '...') }}
{% endif %}
|
|
{% if attestationType != "internal" %}
|
{% set image = groupData.stamp %}
{% set containerImgWidth = 350 %}
{% set containerImgHeight = 150 %}
{% include TEMPLATE_IMAGE %}
|
|
|
|
Fait à
{{ groupData.addressSellingPoint.city }},
en deux exemplaires, le {{date|date("d/m/Y") }}
|
|
{% endif %}