{% extends 'AppBundle:Documents:v2\\standard_layout.html.twig' %} {% import 'AppBundle:Documents:v2\\Import\\order_form.html.twig' as orderFormF %} {% import 'AppBundle:Documents:v2\\Import\\global.html.twig' as globalF %} {% 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\\service_purchase.html.twig' as servicePurchaseF %} {% import 'AppBundle:Documents:v2\\Import\\group.html.twig' as groupF %} {% import 'AppBundle:Documents:v2\\Import\\payment.html.twig' as paymentF %} {% import 'AppBundle:Documents:v2\\Import\\funding.html.twig' as fundingF %} {% import 'AppBundle:Documents:v2\\Import\\user.html.twig' as userF %} {% import 'AppBundle:Admin:Common\\Macro\\macro_image.html.twig' as macro_imageF %} {% set isVN = vehicleData.voVnType == 'VN' %} {% block header %} {% set editor = {'label': 'user.seller.title'|trans({}, 'DocumentTrans'), 'contactLabel': 'contact.title'|trans({}, 'DocumentTrans' )}|merge(seller) %} {% include 'AppBundle:Documents:v2\\Include\\Global\\header.html.twig' with { 'editor': editor } %} {% endblock header %} {% block main_title %} {% include 'AppBundle:Documents:v2\\Include\\Administrative\\customer.html.twig' with { 'loaner' : sellingData.loaner, 'customer' : sellingData.customer, 'coCustomer' : sellingData.coCustomer, 'isSpouse' : sellingData.isSpouse, 'countries': countries } %}

{{ 'title.commercial_proposition'|trans({'%number%' : sellingData.number}, 'DocumentTrans' ) }} {% if isVN == true %} {{ 'vehicle.selling.new_complete'|trans({}, 'DocumentTrans' ) }} {% endif %}

{{ 'the'|trans({}, 'DocumentTrans' ) }} {{ sellingData.date }}

{% include 'AppBundle:Documents:v2\\Include\\Administrative\\customer_infos.html.twig' with { 'customer' : customer } %}
{% endblock main_title %} {% block content %} {% set hasExchange = sellingData.partExchangePurchase is defined and sellingData.partExchangePurchase.vehicleData is not empty and sellingData.partExchangePurchase.vehicleData.id is not empty %} {% block vehicle %} {% set tableLabelStyle = 't-dark-grey ta-right fs-i' %} {% include 'AppBundle:Documents:v2\\Include\\Administrative\\CommercialProposition\\vehicles.html.twig' with { 'isVN' : isVN, 'block_title': 'vehicle.title', 'hasExchange': hasExchange, 'sellingData': sellingData } %} {% endblock vehicle %} {% block service %}
{% include 'AppBundle:Documents:v2\\Include\\Administrative\\services.html.twig' with { 'block_title': 'service.benefits' } %}
{% endblock service %} {% block note %} {% include 'AppBundle:Documents:v2\\Include\\Administrative\\note.html.twig' with { 'block_title': 'comments' } %} {% endblock note %} {% block summary %} {% include 'AppBundle:Documents:v2\\Include\\Administrative\\summary.html.twig' with { 'block_title': 'summary', 'hasExchange': hasExchange } %} {% endblock summary %} {% block equipment %}
{% include 'AppBundle:Documents:v2\\Include\\Administrative\\CommercialProposition\\equipment.html.twig' with { 'optional_block_title': 'vehicle.equipment.optional.title', 'standard_block_title': 'vehicle.equipment.standard.title', 'no_present_block_title': 'vehicle.equipment.no_present.title', 'additional_block_title': 'vehicle.equipment.additional.title' } %}
{% endblock equipment %} {% block images %}
{% include 'AppBundle:Documents:v2\\Include\\Administrative\\gallery.html.twig' with { 'block_title': "vehicle.media"|transchoice(vehicleMediaList|length, {}, 'DocumentTrans'), 'padding_img': 'pad-l-15' } %}
{% endblock images %} {% endblock content %} {% block signature %} {% endblock signature %}