{% include INIT_VARIABLES %} {# params #} {% include FOOTER f 30 50 %} {% include TEMPLATE_CSS_PORTRAIT %}
{# params include #} {% set displaySeller = true %} {% include TEMPLATE_HEADER_PORTRAIT %}
{% if object.number is not empty %} {{ 'title.commercial_proposition'|trans({'%number%' : object.number}, 'DocumentTrans' ) }} {% endif %}
{{ 'contact.customer.title'|trans({}, 'DocumentTrans' ) }} {# params include #} {% set numbers = true %} {% set isTvaIntracomAtBottom = true %} {% include TEMPLATE_CUSTOMER %}
{{ 'vehicle.selling.proposed_complete'|trans({}, 'DocumentTrans' ) }}
{# params include #} {% set vehicle = object.vehicle %} {% set displaySellPrice = true %} {% set sellPrice = object.vehicleSellingList[0].sellPriceWithTax %} {% set sellPriceWithoutTax = object.vehicleSellingList[0].sellPriceWithoutTax %} {% set totalPrice = sellPrice %} {% set withoutCO2 = true %} {% set vehicleDiscount = object.vehicleSellingList[0].priceDiscount %} {% set sellPriceWithTax = object.sellPriceWithTax %} {% include TEMPLATE_VEHICLE_TABLE_NEGOCE %}
{% if object.partExchangePurchase is not empty and object.partExchangePurchase.vehicle is not empty %} {% include TEMPLATE_PART_EXCHANGE_SELLING %} {% endif %} {% include TEMPLATE_SELLING_TABLE %}
{% if notShowColumnTaxAndTotalWithTax == false %} {{ 'administrative.total.price_with_tax'|trans({}, 'DocumentTrans' ) }} {% else %} {{ 'administrative.total.price_without_tax'|trans({}, 'DocumentTrans' ) }} {% endif %} {{ 'prices'|trans({}, 'DocumentTrans' ) }}
{% if object.serviceList is not empty %} {% endif %} {% if object.partExchangePurchase is not empty and object.partExchangePurchase.vehicle is not empty %} {% endif %}
{{ 'administrative.total.vehicle_price_with_tax'|transchoice(1, {}, 'DocumentTrans' ) }} {{ totalPrice|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% if notShowColumnTaxAndTotalWithTax == false %} {{ 'administrative.total.price_with_tax'|trans({}, 'DocumentTrans' ) }} {% else %} {{ 'administrative.total.price_without_tax'|trans({}, 'DocumentTrans' ) }} {% endif %} {{ 'administrative.add_charges'|trans({}, 'DocumentTrans' ) }} {% set totalPriceWithArticle = totalPrice + totalArticlePrice %} {{ totalPriceWithArticle|number_format(2, ',', ' ') }} {{ currencySymbol }}
{% if notShowColumnTaxAndTotalWithTax == false %} {{ 'administrative.total.price_with_tax'|trans({}, 'DocumentTrans' ) }} {% else %} {{ 'administrative.total.price_without_tax'|trans({}, 'DocumentTrans' ) }} {% endif %} {{ 'administrative.from_order'|trans({}, 'DocumentTrans' ) }} {% if object.serviceList is not empty %} {{ 'administrative.add_charges'|trans({}, 'DocumentTrans' ) }} {% endif %} {{ 'administrative.add_part_exchange'|trans({}, 'DocumentTrans' ) }} {% set totalPriceWithArticleAndPartExchange = totalPriceWithArticle - object.partExchangePurchase.priceWithTax %} {{ totalPriceWithArticleAndPartExchange|number_format(2, ',', ' ') }} {{ currencySymbol }}
{{ 'administrative.total.price_with_tax'|trans({}, 'DocumentTrans' ) }} {{ sellPriceWithTax|number_format(2, ',', ' ') }} {{ currencySymbol }}

{% set remarksBloc = "" %} {% for notes in object.noteList %} {% set remarks = notes.title ~ ' ' ~ notes.content %} {% set remarks = remarks | truncate(500, true, '...') %} {% set remarks = remarks ~ '\n' %} {% set remarksBloc = remarksBloc ~ remarks %} {% endfor %} {{ remarksBloc | truncate(1500, true, '') | nl2br }}

{# params include #} {% set nbVehicleStandardEquipment = 70 %} {% set isCotation = true %} {% include TEMPLATE_VEHICLE_STANDARD_EQUIPMENT %} {# params include #} {% set nbVehicleOptionalEquipment = 70 %} {% set priceOptionsOptional = true %} {% include TEMPLATE_VEHICLE_OPTIONAL_EQUIPMENT %} {% if vehicleMediaList is defined and vehicleMediaList is not empty %} {% for image in vehicleMediaList %} {% if loop.index0%2 == 0 %} {% if loop.index0 > 1 %} {% endif %} {% endif %} {% endfor %}
{% set containerImgWidth = 500 %} {% set containerImgHeight = 300 %} {% include TEMPLATE_IMAGE %}
{% endif %}