|
FICHE D'EXPERTISE du {{ expertise.date|date("d/m/Y à H:i") }} |
Titre :
{% if expertise.title is not empty %}{{ expertise.title }}{% endif %}
|
État général :
{% if expertise.generalState == "vehicle.general_state.average" %}
Moyen
{% elseif expertise.generalState == "vehicle.general_state.bad" %}
Mauvais
{% elseif expertise.generalState == "vehicle.general_state.good" %}
Bon
{% elseif expertise.generalState == "vehicle.general_state.excellent" %}
Excellent
{% endif %}
|
Carburant : {% if expertise.fuelElement is not empty %}{{ expertise.fuelElement }}{% endif %}
|
|
{# params include #}
{% set vehicle = vehicle %}
{% include TEMPLATE_BASE_VEHICLE_TABLE %}
|
|
Zone |
Défaut |
Prix estimés HT |
{% set totalPrice = 0 %}
{% for conditionAssess in expertise.externalStateList if expertise.externalStateList is not empty %}
{% set totalPrice = totalPrice + conditionAssess.costing %}
{% if conditionAssess.zone is not empty %}{{ conditionAssess.zone }}{% endif %} |
{% if conditionAssess.defect is not empty %}{{ conditionAssess.defect }}{% endif %} |
{% if conditionAssess.costing is not empty %}{{ conditionAssess.costing|number_format(2, ',', '') }} {{ currencySymbol }}{% endif %} |
{% endfor %}
|
TOTAL HT |
{{ totalPrice|number_format(2, ',', '') }} {{ currencySymbol }} |
|
|
|
Zone |
Défaut |
Prix estimés HT |
{% set totalPrice = 0 %}
{% for conditionAssess in expertise.internalStateList if expertise.internalStateList is not empty %}
{% set totalPrice = totalPrice + conditionAssess.costing %}
{% if conditionAssess.zone is not empty %}{{ conditionAssess.zone }}{% endif %} |
{% if conditionAssess.defect is not empty %}{{ conditionAssess.defect }}{% endif %} |
{% if conditionAssess.costing is not empty %}{{ conditionAssess.costing|number_format(2, ',', '') }} {{ currencySymbol }}{% endif %} |
{% endfor %}
|
TOTAL HT |
{{ totalPrice|number_format(2, ',', '') }} {{ currencySymbol }} |
|
|
|
Pneus {% if expertise.conditionTire.tireType is not empty %}- {{ expertise.conditionTire.tireType }} {% endif %}{% if expertise.conditionTire.tireBrand is not empty %}- {{ expertise.conditionTire.tireBrand }} {% endif %}{% if expertise.conditionTire.tireSize is not empty %}- {{ expertise.conditionTire.tireSize }} {% endif %} |
Défaut |
Prix estimés HT |
{% if expertise.conditionTire.frontLeft is not empty and expertise.conditionTire.frontRight is not empty and expertise.conditionTire.frontCosting is not empty %}
Avant gauche |
{% if expertise.conditionTire.frontLeft is not empty %} {{ expertise.conditionTire.frontLeft }} {% endif %} |
{% if expertise.conditionTire.frontCosting is not empty %} {{ expertise.conditionTire.frontCosting|number_format(2, ',', '') }} {{ currencySymbol }} {% endif %} |
Avant droit |
{% if expertise.conditionTire.frontRight is not empty %} {{ expertise.conditionTire.frontRight }} {% endif %} |
{% endif %}
{% if expertise.conditionTire.rearLeft is not empty and expertise.conditionTire.rearRight is not empty and expertise.conditionTire.rearCosting is not empty %}
Arrière gauche |
{% if expertise.conditionTire.rearLeft is not empty %} {{ expertise.conditionTire.rearLeft }} {% endif %} |
{% if expertise.conditionTire.rearCosting is not empty %} {{ expertise.conditionTire.rearCosting|number_format(2, ',', '') }} {{ currencySymbol }} {% endif %} |
Arrière droit |
{% if expertise.conditionTire.rearRight is not empty %} {{ expertise.conditionTire.rearRight }} {% endif %} |
{% endif %}
{% if expertise.conditionTire.spare is not empty and expertise.conditionTire.spareCosting is not empty %}
Roue de secours : {% if expertise.conditionTire.spareType is not empty %} {{ expertise.conditionTire.spareType }} {% endif %} |
{% if expertise.conditionTire.spare is not empty %} {{ expertise.conditionTire.spare }} {% endif %} |
{% if expertise.conditionTire.spareCosting is not empty %} {{ expertise.conditionTire.spareCosting|number_format(2, ',', '') }} {{ currencySymbol }} {% endif %} |
{% endif %}
|
TOTAL HT |
{% set totalPrice = expertise.conditionTire.frontCosting + expertise.conditionTire.rearCosting + expertise.conditionTire.spareCosting %}
{{ totalPrice|number_format(2, ',', '') }} {{ currencySymbol }} |
|
|
Libellé |
Prix estimés HT |
{% set totalPrice = 0 %}
{% for conditionAssess in expertise.mechanicalStateList if expertise.mechanicalStateList is not empty %}
{% set totalPrice = totalPrice + conditionAssess.costing %}
{% if conditionAssess.element is not empty %}{{ conditionAssess.element }}{% endif %} |
{% if conditionAssess.costing is not empty %}{{ conditionAssess.costing|number_format(2, ',', '') }} {{ currencySymbol }}{% endif %} |
{% endfor %}
TOTAL HT |
{{ totalPrice|number_format(2, ',', '') }} {{ currencySymbol }} |
|
|
Libellé |
Prix estimés HT |
{% set totalPrice = 0 %}
{% for conditionAssess in expertise.otherStateList if expertise.otherStateList is not empty %}
{% set totalPrice = totalPrice + conditionAssess.costing %}
{% if conditionAssess.element is not empty %}{{ conditionAssess.element }}{% endif %} |
{% if conditionAssess.costing is not empty %}{{ conditionAssess.costing|number_format(2, ',', '') }} {{ currencySymbol }}{% endif %} |
{% endfor %}
TOTAL HT |
{{ totalPrice|number_format(2, ',', '') }} {{ currencySymbol }} |
|
|
{% for elements in expertise.stateElements if expertise.stateElements is not empty %}
{% if elements.isProvided == 1 %}
{{ elements.element }} ;
{% endif %}
{% endfor %}
|
|
{% set remarksBloc = "" %}
Remarques :
{% set remarks = expertise.comment %}
{% set remarks = remarks | truncate(400, true, '...')%}
{% set remarks = remarks ~ '\n' %}
{% set remarksBloc = remarksBloc ~ remarks %}
{{ remarksBloc | truncate(600, true, '') | nl2br }}
|
{% include TEMPLATE_SIGNATURE_WITH_CUSTOMER_INFORMATION %}
|