{% extends 'AppBundle:Documents:v2\\Administrative\\G2_commercial_proposition.html.twig' %}
{% set containerImgWidth = 375 %}
{% set containerImgHeight = 275 %}
{% set displayDiscount = false %}
{% set classDiscount = 'w-48-1' %}
{% if sellingData.prices.priceDiscount != 0 %}
{% set displayDiscount = true %}
{% set classDiscount = 'w-49' %}
{% endif %}
{% block style %}
{{ parent() }}
{% endblock %}
{% block header %}
{% include 'AppBundle:Documents:v2\\Override\\Trouillet\\Include\\header.html.twig' with
{
'displaySeller': false
}
%}
{% endblock header %}
{% block main_title %}
{{ 'vehicle.type'|trans({}, 'DocumentTrans') }}
|
{{ 'vehicle.brand'|trans({}, 'DocumentTrans') }}
|
{{ 'vehicle.model'|trans({}, 'DocumentTrans') }}
|
{{ 'vehicle.version'|trans({}, 'DocumentTrans') }}
|
{{ vehicleData.voVnType }}
|
{{ vehicleData.brand }}
|
{{ vehicleData.model }}
|
{{ vehicleData.version }}
|
{{ 'vehicle.gender'|trans({}, 'DocumentTrans') }}
|
{{ 'vehicle.energy'|trans({}, 'DocumentTrans') }}
|
{{ 'vehicle.tax_horsepower_complet'|trans({}, 'DocumentTrans') }}
|
{{ 'vehicle.serial_numbers'|trans({}, 'DocumentTrans') }}
|
{{ vehicleData.gender }}
|
{{ vehicleData.energy }}
|
{{ vehicleData.taxHorsepower }} {{ 'vehicle.tax_horsepower_suffix'|trans({}, 'DocumentTrans') }}
|
{{ vehicleData.vin }}
|
{{ 'vehicle.date_distribution'|trans({}, 'DocumentTrans') }}
|
{{ 'vehicle.color'|trans({}, 'DocumentTrans') }}
|
{{ 'vehicle.license_number_complete'|trans({}, 'DocumentTrans') }}
|
{{ 'vehicle.mileage_complete'|trans({}, 'DocumentTrans') }} {{ 'vehicle.warranty.no'|trans({}, 'DocumentTrans')|lower }}
|
{{ vehicleData.dateOfDistribution|date('d/m/Y') }} {{ vehicleDatahorsepower_suffix }}
|
{{ vehicleData.color }}
|
{{ vehicleData.licenseNumber }}
|
{{ vehicleData.distanceTraveled }} {{ 'vehicle.mileage'|trans({}, 'DocumentTrans') }}
|
{{ 'service.reference_complet'|trans({}, 'DocumentTrans') }}
|
{{ 'service.name'|trans({}, 'DocumentTrans') }}
|
{{ 'service.price_unit_ht'|trans({}, 'DocumentTrans') }}
|
{{ 'service.qte'|trans({}, 'DocumentTrans') }}
|
{{ 'service.total_ht'|trans({}, 'DocumentTrans') }}
|
{% if displayDiscount %}
{{ 'administrative.price_without_tax_discount'|trans({}, 'DocumentTrans') }}
|
{{ 'administrative.total.price_without_tax_discount'|trans({}, 'DocumentTrans') }}
|
{% endif %}
{{ 'service.tva'|trans({}, 'DocumentTrans') }}
|
{{ 'service.total_ttc'|trans({}, 'DocumentTrans') }}
|
{{ vehicleData.internalReference }}
|
{{ vehicleData.brand ~' '~ vehicleData.model ~' '~ vehicleData.version }} {{ vehicleData.internalReference }}
|
{{ vehicleSellingData.items[0].sellPriceWithoutTaxWithoutDiscount|number_format(2, ',', '') }} {{ currencySymbol }}
|
{{ vehicleSellingData.items|length }}
|
{{ vehicleSellingData.items[0].sellPriceWithoutTaxWithoutDiscount|number_format(2, ',', '') }} {{ currencySymbol }}
|
{% if displayDiscount %}
{{ vehicleSellingData.items[0].priceDiscount|number_format(2, ',', '') }} {{ currencySymbol }}
|
{{ vehicleSellingData.items[0].sellPriceWithoutTax|number_format(2, ',', '') }} {{ currencySymbol }}
|
{% endif %}
{{ vehicleSellingData.items[0].taxName|trans({}, 'DocumentTrans') }}
|
{{ vehicleSellingData.items[0].sellPriceWithTax|number_format(2, ',', '') }} {{ currencySymbol }}
|
{% for serviceList in serviceListData %}
{% for item in serviceList %}
{{ item.reference }}
|
{{ item.name }}
|
{{ item.sellUnitPriceWithoutTax|number_format(2, ',', '') }} {{ currencySymbol }}
|
{{ item.quantity }}
|
{{ item.sellPriceWithoutTaxWithoutDiscount|number_format(2, ',', '') }} {{ currencySymbol }}
|
{% if displayDiscount %}
{{ item.priceDiscount|number_format(2, ',', '') }} {{ currencySymbol }}
|
{{ item.sellPriceWithoutTax|number_format(2, ',', '') }} {{ currencySymbol }}
|
{% endif %}
{{ item.sellTaxName|trans({}, 'DocumentTrans') }}
|
{{ item.sellPriceWithTax|number_format(2, ',', '') }} {{ currencySymbol }}
|
{% endfor %}
{% endfor %}
{{ 'service.totaux'|trans({}, 'DocumentTrans') }}
|
{{ totalsPriceWithoutTax|number_format(2, ',', '') }} {{ currencySymbol }}
|
{% if displayDiscount %}
{{ totalsPriceDiscount|number_format(2, ',', '') }} {{ currencySymbol }}
|
{{ invoiceBalanceWithoutTaxDiscount|number_format(2, ',', '') }} {{ currencySymbol }}
|
{% endif %}
{{ vehicleSellingData.items[0].sellTotalCollectedTax|number_format(2, ',', '') }} {{ currencySymbol }}
|
{{ invoiceBalance|number_format(2, ',', '') }} {{ currencySymbol }}
|
{% set equipmentStandard = vehicleData.equipmentsType.option_standard %}
{% if equipmentStandard|length > 0 %}