{% extends 'base.html.twig' %} {% block body %}
| N° BC | {% if vente.scanBonCommande %} {{ vente.numCommande }} {% else %} {{ vente.numCommande }} {% endif %} |
|---|---|
| Date Commande | {% if vente.dateCommande %}{{ vente.dateCommande|date('d-m-Y') }}{% endif %} |
| Fournisseur | {{ vente.fournisseur.raisonSociale }} |
| Total HT | {{ vente.totalHt }} |
| Total TVA | {{ vente.totalTva }} |
| Total TTC | {{ vente.totalTtc }} |
| Notes | {{ vente.notes }} |
| Date mise à jour | {% if vente.dateMiseajour %}{{ vente.dateMiseajour|date('d-m-Y') }}{% endif %} |
| Designation | Quantité | Prix U | Remise | Total HT |
|---|---|---|---|---|
| {% if vproduit.produit %}{{ vproduit.produit.titre }}{% else %}{{ vproduit.titre }}{% endif %} | {{ vproduit.quantite }} | {{ vproduit.getPrixHt()|number_format(2, '.', ' ') }} | {{ vproduit.tauxRemise }}% | {{ vproduit.getTotalHt|number_format(2, '.', ' ') }} |