{% include INIT_VARIABLES %} {% include FOOTER f 30 50 %} {% include TEMPLATE_CSS_PORTRAIT %} {% if attestationType == 'internal' %} {% elseif attestationType == 'workshop' %} {% else %} {% endif %}
{# params include #} {% include TEMPLATE_HEADER_PORTRAIT %}
DEMANDE DE TRAVAUX INTERNEATTESTATION DE TRAVAUXDEMANDE DE TRAVAUX
{% if attestationType == 'internal' %}
Véhicule {% if attestationType == 'internal' %}, livraison prévue le :{{ vehicle.follow.deliveredDate|date("d/m/Y") }} {% endif %}
{% elseif attestationType == 'workshop' %} {% else %}
Client {% set customer = {} %} {% if vehicle.certification.newOwner|instanceof('AppBundle\\Entity\\History\\Contact\\ContactHistory') %} {% set customer = get_service('app_bundle.manager.contact').getCustomerContactHistoryFormatted(vehicle.certification.newOwner) %} {% endif %} {% include TEMPLATE_CUSTOMER %}
Nous avons le plaisir de vous remettre le véhicule ci-dessous, livraison prévue le : {{ vehicle.follow.deliveredDate|date("d/m/Y") }}
{% endif %} {% if attestationType == 'internal' %} {% else %} {% endif %} {% if attestationType != "internal" %} {% endif %}
{# params include #} {% set vehicle = vehicle %} {% set askWork = true %} {% set displaySellPrice = false %} {% include TEMPLATE_BASE_VEHICLE_TABLE %}
Travaux à effectuer sur ce véhicule
A cette occasion, veuillez trouver ci-dessous le détail des travaux que nous avons réalisés sur ce véhicule :
{% if attestationType == 'internal' %} {% else %} {% endif %} {% if attestationType != 'workshop' %} {% endif %} {% if worksElements is empty %} {% set worksElements = expertise.worksElements %} {% endif %} {% for workElement in worksElements %} {% if attestationType != 'workshop' %} {% endif %} {% endfor %}
Travaux à effectuerTravaux effectuésLePar
{% if workElement.element is not empty %}{{ workElement.element }}{% endif %} {% if workElement.dateOfDistribution is not empty %}{{ workElement.dateOfDistribution|date("d/m/Y") }}{% endif %} {% if workElement.companion is not empty %} {{ workElement.companion }} {% endif %}
{% 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 %}
Propriétaire Client
{% 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") }}