{% include INIT_VARIABLES %} {# params #} {% include FOOTER f 30 50 %} {% include TEMPLATE_CSS_PORTRAIT %}
{# params include #} {% set displaySeller = false %} {% include TEMPLATE_HEADER_PORTRAIT %}
{{ 'title.commercial_proposition_without_number'|trans({}, 'DocumentTrans' )}} {% if rental.type == 'rental.type.short_term_rental' %} {{ 'rental.type.short'|trans({}, 'DocumentTrans' )}} {% else %} {{ 'rental.type.long'|trans({}, 'DocumentTrans' )}} {% endif %}
{{ 'contact.customer.title'|trans({}, 'DocumentTrans' )}} {# params include #} {% set numbers = true %} {% set isTvaIntracomAtBottom = true %} {% include TEMPLATE_CUSTOMER %}
{{ 'vehicle.selling.proposed_complete'|trans({}, 'DocumentTrans' )}}
{% include TEMPLATE_VEHICLE_RENTAL %}
{# params include #} {% set nbVehicleStandardEquipment = 14 %} {% set isCotation = true %} {% include TEMPLATE_VEHICLE_STANDARD_EQUIPMENT %} {# params include #} {% set nbVehicleOptionalEquipment = 14 %} {% set priceOptionsOptional = false %} {% include TEMPLATE_VEHICLE_OPTIONAL_EQUIPMENT %}
{{ 'rental.duration'|trans({}, 'DocumentTrans' )}}
{% set difference = date(rental.startDate).diff(date(rental.returnDate)) %} {% set leftYears = difference.y %} {% set leftMonths = difference.m %} {% set leftDays = difference.days %} {% set leftHours = difference.h %} {% if leftYears is not empty and leftYears != 0 %}{{ difference|date('%y ans') }}{% endif %} {% if leftMonths is not empty and leftMonths != 0 %}{{ difference|date('%m mois') }}{% endif %} {% if leftDays is not empty and leftDays != 0 %}{{ difference|date('%d jours') }}{% endif %} {% if leftHours is not empty %}{{ difference|date('%h heures') }}{% endif %} {% if rental.rentalPricing.predicatedKm is not empty %} {{ 'and'|trans({}, 'DocumentTrans' )}} {{ rental.rentalPricing.predicatedKm }} km {% endif %}
{% if rental.type == 'rental.type.short_term_rental' %} {{ 'rental.rate.prices'|trans({}, 'DocumentTrans' )}} {% else %} {{ 'rental.rate.rent'|trans({}, 'DocumentTrans' )}} {% endif %}
{% set rentalInvoice = rental %} {% set commercial_proposition_rental = true %} {% set hasTableParentTitle = true %} {% 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 notShowColumnTaxAndTotalWithTax == false %} {{ 'administrative.total.price_with_tax'|trans({}, 'DocumentTrans' )}} {% else %} {{ 'administrative.total.price_without_tax'|trans({}, 'DocumentTrans' )}} {% endif %} {{ 'administrative.from_order'|trans({}, 'DocumentTrans' )}} {{ 'administrative.add_charges'|trans({}, 'DocumentTrans' )}}
{{ 'administrative.total.sub_total'|trans({}, 'DocumentTrans' )}}
{% if rental.sellPriceWithTax is not empty %} {{ rental.sellPriceWithTax|number_format(2, ',', ' ') }} {{ currencySymbol }} {% endif %}
{% if rental.sellPriceWithTax is not empty %} {{ rental.sellPriceWithTax|number_format(2, ',', ' ') }} {{ currencySymbol }} {% endif %}

{{ 'comments'|trans({}, 'DocumentTrans' )}} : {% if rental.note is not empty %} {{ rental.note }} {% endif %}

{% 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 %}