{% extends 'admin/hub/layout.html.twig' %} {% set hub_title = 'Bons de livraison' %} {% set hub_breadcrumbs = [ { label: 'Bons de livraison', url: path('app_bl_hub') }, { label: bonLivraison.numeroBl ? 'BL ' ~ bonLivraison.numeroBl : 'BL #' ~ bonLivraison.id } ] %} {% block title %}{{ bonLivraison.numeroBl ? 'BL ' ~ bonLivraison.numeroBl : 'BL #' ~ bonLivraison.id }} — Mercuriale.io{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block hub_content %}
| Code | Designation | Qte | PU BL | PU Mercuriale | Ecart | Total HT | Statut |
|---|---|---|---|---|---|---|---|
| {{ ligne.codeProduitBl ?? '—' }} | {{ ligne.designationBl }} | {{ ligne.quantiteLivree|number_format(2, ',', ' ') }} {% if ligne.unite %}{{ ligne.unite }}{% endif %} | {{ ligne.prixUnitaire|number_format(4, ',', ' ') }} € | {% if prixMercuriale %} {{ prixMercuriale|number_format(4, ',', ' ') }} € {% else %} — {% endif %} | {% if ecartPct is not null %} {% include 'components/_variance_indicator.html.twig' with { value: ecartPct, threshold: 5.0, size: 'sm' } only %} {% else %} — {% endif %} | {{ ligne.totalLigne|number_format(2, ',', ' ') }} € | {% include 'components/_status_badge.html.twig' with { label: ligne.statutControle.label, variant: ligne.statutControle.color, size: 'sm' } only %} |