{% extends 'base.html.twig' %} {% block title %}Commandes{% endblock %} {% block body %}
Id | Date de demande | Réparation | Pièces neuves | Pièces d'occasion | Détail | Actions |
---|---|---|---|---|---|---|
{{ commande.id }} | {{ commande.date|date('d-m-Y') }} | {{commande.reparation.datePriseEnCharge|date('d-m-Y')}} |
{% for stockNeuf in commande.stockNeufs %}
{{stockNeuf.nomPiece}}
{% endfor %}
|
{% for stockOccasion in commande.stockOccasions %}
{{stockOccasion.nomPiece}}
{% endfor %}
|
{% if is_granted("ROLE_MANAGER") %} {{ include('commande/_delete_form.html.twig') }} {% else %} Aucune action autorisée {% endif %} | |
Aucune demande enregistrée |