{% extends 'AppBundle:Documents:v2\\Include\\Administrative\\vehicles.html.twig' %} {% set vehicleSelling = sellingData.vehicleSellings[0] %} {% set vehicleSellingData = vehicleSelling is not null ? vehicleSelling.vehicleData : null %} {% set vehiclePartExchange = sellingData.partExchangePurchase %} {% set vehiclePartExchangeData = vehiclePartExchange is not null ? vehiclePartExchange.vehicleData : null %} {% set hasHighlightMedia = vehicleMediaList is defined and vehicleMediaList|length > 0 %} {% set containerImgWidth = 440 %} {% set containerImgHeight = 240 %} {% block main_title %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with { 'title' : 'vehicle.selling.ordered_complete'|trans({}, 'DocumentTrans') } %}
{% endblock main_title %} {% block vehicle_title %} {% endblock vehicle_title %} {% block side_vehicle_title %} {% endblock side_vehicle_title %} {% block vehicle_data %} {% include 'AppBundle:Documents:v2\\Include\\Administrative\\selling_vehicle.html.twig' with { 'vehicleData': vehicleSellingData, 'nbColumns': 2 } %} {% endblock vehicle_data %} {% block side_vehicle_data %} {% if hasHighlightMedia == true %} {% include 'AppBundle:Documents:v2\\Include\\Global\\image.html.twig' with { 'image': vehicleMediaList|first, 'containerImgWidth': containerImgWidth, 'containerImgHeight': containerImgHeight, 'fill': true } %} {% endif %} {% endblock side_vehicle_data %} {% block side_vehicle_price %} {% endblock side_vehicle_price %} {% block misc %} {% if hasExchange == true %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with { 'title' : 'vehicle.part_exchange.title'|trans({}, 'DocumentTrans') } %}
{% include 'AppBundle:Documents:v2\\Include\\Administrative\\part_exchange.html.twig' with { 'vehicleData' : vehiclePartExchangeData, 'nbColumns': 2 } %}

{{ 'vehicle.part_exchange.today_value'|trans({}, 'DocumentTrans' ) }} {{ vehiclePartExchange.priceWithTax|number_format(2, ',', ' ') }}{{ currencySymbol }}

{% endif %} {% endblock misc %}