{% extends 'app/base.html.twig' %} {% block title %}Bon de Commande N° {{ '%04d'|format(commande.id) }}{% endblock %} {% block body %} {# CSS impression #} {# ── En-tête ─────────────────────────────────────────────────────────────── #}
| Date de commande : | {{ commande.date_commande ? commande.date_commande|date('d/m/Y') : '—' }} |
|---|---|
| Fournisseur : | {{ commande.fournisseur }} |
| Livraison souhaitée : | {% if commande.date_livraison_souhaitee %}{{ commande.date_livraison_souhaitee|date('d/m/Y') }}{% else %}—{% endif %} |
| Statut : | {% set badges = {brouillon: 'bg-secondary', envoyee: 'bg-warning text-dark', recue: 'bg-success', annulee: 'bg-danger'} %} {{ commande.statut|capitalize }} |
|
Cette commande a été automatiquement ajoutée aux achats.
Voir les achats générés
|
|
| Notes : | {{ commande.notes|nl2br }} |
| Produit | Qté | Unité | Prix HT | TVA | Prix TTC | Total HT | Total TTC |
|---|---|---|---|---|---|---|---|
| Aucun produit dans cette commande | |||||||
|
{{ ligne.produit }}
{% if ligne.label %}{{ ligne.label }}{% endif %}
{% if ligne.origine %} {{ ligne.origine }}{% endif %} |
{{ qte|number_format(3, ',', ' ') }} | {{ ligne.unite ?? '' }} | {{ prixHT > 0 ? prixHT|number_format(3, ',', ' ') ~ ' €' : '—' }} | {{ tva }}% | {{ prixTTC > 0 ? prixTTC|number_format(3, ',', ' ') ~ ' €' : '—' }} | {{ ligneHT > 0 ? ligneHT|number_format(3, ',', ' ') ~ ' €' : '—' }} | {{ ligneTTC > 0 ? ligneTTC|number_format(3, ',', ' ') ~ ' €' : '—' }} |
| Total HT : {{ totalHT|number_format(3, ',', ' ') }} € | Total TTC : {{ totalTTC|number_format(3, ',', ' ') }} € | ||||||
Date et signature de {{ config.nom_etablissement ?? 'la restauration' }} :
Date et signature du Fournisseur :