{% import 'AppBundle:Documents:v2\\Import\\vehicle.html.twig' as vehicleF %} {% 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 %} {% block main_title %} {% endblock main_title %} {% block vehicle_title %} {% endblock vehicle_title %} {% block side_vehicle_title %} {% if hasExchange == true %} {% endif %} {% endblock side_vehicle_title %} {% block vehicle_data %} {% endblock vehicle_data %} {% block side_vehicle_data %} {% if hasExchange == true %} {% endif %} {% endblock side_vehicle_data %} {% block side_vehicle_price %} {% if hasExchange == true %} {% endif %} {% endblock side_vehicle_price %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with { 'title' : 'vehicle.selling.ordered_complete'|trans({}, 'DocumentTrans') } %} {% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with { 'title' : 'vehicle.part_exchange.title'|trans({}, 'DocumentTrans' ) } %}
{% include 'AppBundle:Documents:v2\\Include\\Administrative\\selling_vehicle.html.twig' with { 'vehicleData': vehicleSellingData, 'nbColumns': 2 } %} {% include 'AppBundle:Documents:v2\\Include\\Administrative\\part_exchange.html.twig' with { 'vehicleData' : vehiclePartExchangeData, 'nbColumns': 1 } %}

{% if vehicleSelling.priceDiscount is null or vehicleSelling.priceDiscount == "0.00" %} {% if notShowColumnTaxAndTotalWithTax == false %} {{ 'administrative.price_with_tax'|trans({}, 'DocumentTrans' ) }} {% else %} {{ 'administrative.price_without_tax'|trans({}, 'DocumentTrans' ) }} {% endif %} {% else %} {% if notShowColumnTaxAndTotalWithTax == false %} {{ 'administrative.price_with_discount_with_tax'|trans({}, 'DocumentTrans' ) }} {% else %} {{ 'administrative.price_with_discount_without_tax'|trans({}, 'DocumentTrans' ) }} {% endif %} {% endif %} {% block vehicle_sell_price_with_tax %} {{ vehicleSelling.sellPriceWithTax|number_format(2, ',', ' ') }}{{ currencySymbol }} {% endblock %}

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

{% block misc %} {% endblock misc %} {% block clause %} {% if hasExchange == true %}

{{ 'vehicle.part_exchange.clause.txt_1'|trans({}, 'DocumentTrans' ) }} {{ 'vehicle.part_exchange.clause.txt_2'|trans({}, 'DocumentTrans' ) }}

{% endif %} {% endblock clause %}