{% extends 'AppBundle:Documents:v2\\standard_layout.html.twig' %}
{% import 'AppBundle:Documents:v2\\Import\\vehicle.html.twig' as vehicleF %}
{% import 'AppBundle:Documents:v2\\Import\\vehicle_follow.html.twig' as vehicleFollowF %}
{% import 'AppBundle:Documents:v2\\Import\\vehicle_eurotax.html.twig' as vehicleEurotaxF %}
{% block header %}
{% block specificHeader %}{% endblock %}
{% include 'AppBundle:Documents:v2\\Include\\Vehicle\\advertising_paper_portrait_header.html.twig'
with {
'asideLabel' : 'Numéro de police : ',
'asideValue' : vehicleF.getVo(vehicle, {'previousValue': ''}),
'titleBrand' : vehicleF.getBrand(vehicle, {}),
'titleModel' : vehicleF.getModel(vehicle, {'truncate': 45}),
'titleVersion' : vehicleF.getVersion(vehicle, {'truncate': 90}),
'width1' : '4',
'width2' : '92',
'asideClass' : specificAside is defined ? specificAside : 'aside-landscape-portrait',
'twoLines' : true
} %}
{% endblock header %}
{% block main_title %}{% endblock main_title %}
{% block content %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with {'title': 'Caractéristiques'} %}
{% block characteristics %}
{% include 'AppBundle:Documents:v2\\Include\\Vehicle\\array_content_plv.html.twig'
with {
'tdWidth' : [30,30,30],
'tdWidth2' : '3',
'toFill' : true,
'items' : [
{'label' : 'Mise en circulation', 'value' : vehicleF.getDateOfDistribution(vehicle, {}), 'displayLabel' : true, 'labelValue' : vehicleData.dateOfDistribution},
{'label' : 'Puissance fiscale', 'value' : vehicleF.getTaxHorsePower(vehicle, {}), 'displayLabel' : true, 'labelValue' : vehicleData.taxHorsepower},
{'label' : 'Energie', 'value' : vehicleF.getEnergy(vehicle, {}), 'displayLabel' : true, 'labelValue' : vehicleData.energy},
]
} %}
{% include 'AppBundle:Documents:v2\\Include\\Vehicle\\array_content_plv.html.twig'
with {
'tdWidth' : [30,30,30],
'tdWidth2' : '3',
'toFill' : true,
'items' : [
{
'label' : vehicleData.distanceTraveledWarranty ? 'Kilométrage garanti' : 'Kilométrage non garanti',
'value' : vehicleF.getDistanceTraveled(vehicle, {"afterValue": "Km"}),
'displayLabel' : true,
'labelValue' : vehicleData.distanceTraveled
},
{'label' : 'Immatriculation', 'value' : vehicleF.getLicenseNumber(vehicle, {"afterValue": ""}), 'displayLabel' : true, 'labelValue' : vehicleData.licenseNumber},
{'label' : 'Numéro de série', 'value' : vehicleF.getVin(vehicle, {'truncate': 40}), 'displayLabel' : true, 'labelValue' : vehicleData.vin},
]
} %}
{% include 'AppBundle:Documents:v2\\Include\\Vehicle\\array_content_plv.html.twig'
with {
'tdWidth' : [30,30,30],
'tdWidth2' : '3',
'toFill' : true,
'items' : [
{'label' : 'Provenance', 'value' : vehicleFollowF.getOrigin(vehicle.follow, {'truncate': 40}), 'displayLabel' : true, 'labelValue' : vehicleData.follow.origin},
{'label' : 'Origine', 'value' : vehicleF.getCountry(vehicle, {'truncate': 40, 'countries': countries}), 'displayLabel' : true, 'labelValue' : vehicleData.country},
{'label' : 'Co2', 'value' : vehicleF.getExtraUrbanKmConsumption(vehicle), 'urlImage' : vehicleF.getAirQualityCertificationUrl(vehicle, {}), 'displayLabel' : true, 'labelValue' : vehicleData.extraUrbanKmConsumption},
]
} %}
{% include 'AppBundle:Documents:v2\\Include\\Vehicle\\array_content_plv.html.twig'
with {
'tdWidth' : [90],
'tdWidth2' : '3',
'toFill' : true,
'items' : [
{'label' : 'Garantie', 'value' : vehicleF.getWarranty(vehicle, {'truncate': 60, 'previousValue': vehicleF.getWarrantyDuration(vehicle)}), 'displayLabel' : true, 'labelValue' : vehicleData.warrantyLabel},
]
} %}
{% endblock %}
{% if displayEquipmentsStandard %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with {'title' : 'Équipement en série'} %}
{{ vehicleF.getEquipmentStandardList(vehicle, {
'truncate': 45,
'maxElt' : useCheckedEquipments ? 20 : numberEquipmentsStandardToDisplay,
'previousValue': '- ',
'afterValue': '
',
'isTwoColumn' : true,
'displayPrice' : false,
'toDisplay' : useCheckedEquipments
}) }}
{% endif %}
{% if displayEquipmentsOptional %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with {'title' : 'Équipement en option'} %}
{{ vehicleF.getEquipmentOptionalList(vehicle, {
'truncate': 45,
'maxElt' : useCheckedEquipments ? 20 : numberEquipmentsOptionalToDisplay,
'previousValue': '- ',
'afterValue': '
',
'isTwoColumn' : true,
'displayPrice' : displayOptionalPrice,
'toDisplay' : useCheckedEquipments
}) }}
{% endif %}
{% block photos %}
{% if displayPhotos %}
|
{% if numberPhotos == 1 %}
|
{% if vehicleMediaList is defined and vehicleMediaList is not empty %}
{% set image = vehicleMediaList|first %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\image.html.twig' with {
'image': image,
'containerImgWidth' : 400,
'containerImgHeight' : 250
} %}
{% endif %}
|
{% else %}
{% if vehicleMediaList is defined and vehicleMediaList is not empty %}
{% set image = vehicleMediaList|first %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\image.html.twig' with {
'image': image,
'containerImgWidth' : 400,
'containerImgHeight' : 250
} %}
{% endif %}
|
|
{% if vehicleMediaList is defined and vehicleMediaList is not empty %}
{% set image = vehicleMediaList[1] %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\image.html.twig' with {
'image': image,
'containerImgWidth' : 400,
'containerImgHeight' : 250
} %}
{% endif %}
|
{% endif %}
{% endif %}
{% endblock %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with {'title' : 'Prix (hors frais supplementaires)'} %}
|
{% if priceCenter is defined and priceCenter == true %}
|
{% endif %}
{{ currency == 'ht' ? vehicleF.getPricePublicWithoutTax(vehicle, {'afterValue': ''}) : vehicleF.getPricePublic(vehicle, {'afterValue': ''}) }}
|
|
{{ currency }} |
{% if displayValueNew %}
|
{{ vehicleEurotaxF.getValueNewOption(vehicle.eurotax, {'previousValue' : 'Valeur à neuve : ', 'afterValue' : ''}) }}
|
|
{{ currency }} |
{% endif %}
{% if vehicleData.isRecoverableVat %}
{% endif %}
{% endblock content %}
{% block signature %}{% endblock signature %}
{% block footer %}
{% if displayLegalFooter %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\footer.html.twig' with {'object': group, 'footerClass': 'fs-10 lh-12 fw-400 fs-i ta-center t-dark-grey', 'footerId': 'footer-portrait-special'} %}
{% endif %}
{% endblock footer %}