{% extends 'admin/hub/layout.html.twig' %} {% set hub_title = 'Fournisseurs' %} {% set hub_breadcrumbs = [ { label: 'Fournisseurs', url: path('app_fournisseurs_hub') }, { label: 'Liste fournisseurs', url: path('app_fournisseurs_liste') }, { label: fournisseur.nom } ] %} {% block title %}{{ fournisseur.nom }} — Mercuriale.io{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block hub_content %}
{{ contact.role }}
{% endif %}| Date | Numero | Statut | Total HT |
|---|---|---|---|
| {{ bl.dateLivraison ? bl.dateLivraison|date('d/m/Y') : '—' }} | {{ bl.numeroBl ?? 'BL #' ~ bl.id }} | {% include 'components/_status_badge.html.twig' with { label: bl.statut.value, variant: bl.statut.value == 'valide' ? 'success' : (bl.statut.value == 'anomalie' ? 'danger' : 'secondary'), size: 'sm' } only %} | {{ bl.totalHt ? bl.totalHt|number_format(2, ',', ' ') ~ ' €' : '—' }} |
| Date | Reference | Motif | Statut | Montant HT |
|---|---|---|---|---|
| {{ avoir.demandeLe|date('d/m/Y') }} | {{ avoir.reference ?? 'Avoir #' ~ avoir.idAsString[:8] }} | {% if avoir.motif %} {% include 'components/_status_badge.html.twig' with { label: avoir.motif.label, variant: avoir.motif.color, size: 'sm' } only %} {% else %} — {% endif %} | {% include 'components/_status_badge.html.twig' with { label: avoir.statut.label, variant: avoir.statut.color, size: 'sm' } only %} | {{ avoir.montantHt ? avoir.montantHt|number_format(2, ',', ' ') ~ ' €' : '—' }} |