{% extends 'AppBundle:Documents:v2\\Vehicle\\N9_facture_achat.html.twig' %} {% import 'AppBundle:Documents:v2\\Import\\service_purchase.html.twig' as servicePurchaseF %} {% import 'AppBundle:Documents:v2\\Import\\global.html.twig' as globalF %} {% block content %}

Bon de commande N° {{ vehicleF.getReference(vehicle) }}

du {{ vehiclePurchase.purchaseDate }}

{% include 'AppBundle:Documents:v2\\Include\\Global\\array_content.html.twig' with { 'rowList' : [ { 'widthCells' : [2,2,2,2,2], 'cellTdClass' : 'l-light-grey tab-light-grey', 'items' : [ {'label' : 'Marque', 'value' : vehicleF.getBrand(vehicle, {'truncate': 40})}, {'label' : 'Modèle', 'value' : vehicleF.getModel(vehicle, {'truncate': 40})}, {'label' : 'Version', 'value' : vehicleF.getVersion(vehicle, {'truncate': 40})}, {'label' : 'Chassis N°', 'value' : vehicleF.getVin(vehicle, {'truncate': 40})}, {'label' : 'Immatriculation N°', 'value' : vehicleF.getLicenseNumber(vehicle, {'truncate': 40})}, ] }, { 'widthCells' : [2,2,2,2], 'items' : [ {'label' : 'Carrosserie', 'value' : vehicleData.bodywork}, {'label' : 'Couleur carrosserie', 'value' : vehicleData.color}, {'label' : 'Couleur intérieure', 'value' : vehicleData.insideColor}, {'label' : 'Délai de livraison'}, ] } ] } %} {% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with {'title' : 'Montant'} %} {% for equipmentOptional in equipmentOptionalList %} {% endfor %} {% set totalPrice = vehiclePurchase.price + totalEquipmentOptionalPrice %}

Description

Montant

Confirmation de prix

Prix catalogue

{{ vehiclePurchase.price }} {{ currencySymbol }}

{{ equipmentOptional.option }}

Total

{{ totalPrice|number_format(2, ',', ' ') }} {{ currencySymbol }}

Total à payer

{{ totalPrice|number_format(2, ',', ' ') }} {{ currencySymbol }}

{% block payment %}{% endblock payment %} {% include 'AppBundle:Documents:v2\\Include\\Global\\title_content.html.twig' with {'title' : 'Divers'} %} {% block notes %}

{{ vehiclePurchase.paymentNote }}

{% endblock notes %}
{% include 'AppBundle:Documents:v2\\Include\\Global\\signature_twice.html.twig' with { 'columnList': [ { 'label' : "Vendeur", 'lineList' : [ { 'content' : contactF.getContactLabel(vehicle.purchase.newSupplier.contact, {}), 'lineClass' : 'fs-26 lh-32 fw-400 tt-u t-black', 'hasSpaceAfter' : true }, { 'content' : addressF.getAddress(vehicle.purchase.newSupplier.addressHistory, {}) ~ addressF.getPostalCode(vehicle.purchase.newSupplier.addressHistory, {}) ~ addressF.getCity(vehicle.purchase.newSupplier.addressHistory, {}) } ] }, { 'label' : "Acheteur", 'lineList' : [ { 'content' : groupF.getCorporateName(group, {}), 'lineClass' : 'fs-26 lh-32 fw-400 tt-u t-black', 'hasSpaceAfter' : true }, { 'content' : groupF.getAddress(group.addressSellingPoint, {'activeNl2br': false }) }, { 'content' : 'TVA INTRA :' ~ groupF.getVatNumber(group, {}) } ] } ] } %} {% endblock content %} {% block signature %}

Confirmation de Commande avec délai

Date :

Signature et cachet

Bon pour commande, le {{ globalF.getCurrentDate(timezone)|trim }}.

Confirmation de Commande avec délai

Date :

Signature et cachet

Confirmation par retour SVP

{% endblock signature %} {% block footer %} {% include 'AppBundle:Documents:v2\\Include\\Global\\footer.html.twig' with {'object': group, 'footerClass': 'fs-12 lh-12 fw-400 fs-i ta-center t-dark-grey', 'footerId': 'footer-portrait-special'} %} {% endblock footer %}