{% extends 'base.html.twig' %} {% block body %}

N° Devis
{% if vente.scanDevis %} {{ vente.numDevis }}{% else %}{{ vente.numDevis }}{% endif %}
Date Devis
{% if vente.dateDevis %}{{ vente.dateDevis|date('d-m-Y') }}{% endif %}
Client
{{ vente.client.raisonSociale }}
{% if vente.reparation %}
O.R.
{{ vente.reparation }}
{% endif %} {% if vente.vehicule %}
Véhicule
{{ vente.vehicule.marque }} {{ vente.vehicule.modele }} {{ vente.vehicule.immatriculation }}
{% endif %} {% if vente.notes %}
Notes
{{ vente.notes }}
{% endif %} {% if vente.dateMiseajour %}
Mise à jour
{{ vente.dateMiseajour|date('d-m-Y') }}
{% endif %}
Retour Modifier {% if app.user.aDroit('devis_suppression') %}{% endif %}
{{ form_start(delete_form) }}{{ form_end(delete_form) }}
Récapitulatif
Total HT{{ vente.totalHt|number_format(2, '.', ' ') }}
Total TVA{{ vente.totalTva|number_format(2, '.', ' ') }}
Total TTC{{ vente.totalTtc|number_format(2, '.', ' ') }}
Produits{{ vente.getDproduits()|length }}
Produits Lignes du devis
{% for vproduit in vente.getDproduits() %} {% endfor %} {% if vente.getDproduits()|length == 0 %} {% endif %}
Produit Quantité Prix U Remise Total HT
{{ vproduit.titre }} {{ vproduit.quantite }} {{ vproduit.getPrixHt()|number_format(2, '.', ' ') }} {{ vproduit.tauxRemise }}% {{ vproduit.getTotalHt|number_format(2, '.', ' ') }}
Aucun produit dans ce devis.
{# Modals retained (optional) #} {# Old print modals removed as per streamlined UI #} {% endblock %} {% block javascripts %} {% endblock %}