Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.humitest.fr
/
htdocs
/
templates_bin
/
templates_OLD
/
back
/
command
/
/srv/data/web/vhosts/www.humitest.fr/htdocs/templates_bin/templates_OLD/back/command/read.html.twig
{% extends 'back/layout.html.twig' %} {% block title %} Voir {{'Command'|transchoice(1)}} {% endblock %} {% block content %} <section class="section-padding"> <div class="container"> <h1>Voir commande</h1> <div class="shape"></div> <div class="text-right mt-4"> <a href="{{ path('admin_command_search') }}" class="btn btn-red text-light rounded" role="button"> <i class="fa fa-reply"></i> Retour </a> </div> <div class="card mt-4 mb-4"> <div class="card-header text-center btn-red text-light"> <h4>Détail commande: {{ command.orderKey }}</h4> </div> <div class="card-content"> <h4>Fiche contact</h4> <p><b>Commande du:</b> {{ command.createdAt ? command.createdAt|date('d/m/Y') : '' }} </p> <div class="card shadow m-3 p-3 rounded"> <ul class="list-unstyled"> <li><strong>{% trans %}Nom de l'entreprise {% endtrans %}:</strong> {{ command.companyName }}</li><br> <li><strong>{% trans %}Nom{% endtrans %}:</strong> {{ command.firstname }}</li> <li><strong>{% trans %}Prenom{% endtrans %}:</strong> {{ command.lastname }}</li><br> <li><strong>{% trans %}Email{% endtrans %}:</strong> {{ command.email }}</li> <li><strong>{% trans %}Téléphone{% endtrans %}:</strong> {{ command.phone }}</li><br> <li><strong>{% trans %}Adresse de livraison {% endtrans %}:</strong> {{ command.address }} {{ command.zipcode }} {{ command.city }} {{ command.country }}</li> </ul> </div> <h4>Commentaire de livraison:</h4> {% if command.noteCommande %} <div class="card shadow m-3 p-3 rounded"> {{ command.noteCommande|raw }} </div> {% else %} Note de la commande non renseignée {% endif %} <hr> <a href="{{absolute_url(path('home')) ~ 'upload/billing/' ~ command.billing}}" title="Téléchager la facture" class="btn btn-red w-100 text-light rounded " target="_blank"><i class="fas fa-download"></i> Télécharger la facture</a> <div class="table-responsive mt-4 mb-4"> <table class="table table-striped table-bordered" width="100%" cellspacing="0" data-page-length='50'> <thead> <tr> <th></th> <th>Nom</th> <th>Prix HT</th> <th>Quantité</th> </tr> </thead> <tbody> {% for command in command.commandProduct %} <tr> <td> <div class="thumb-cart"> {% if command.product.images|length > 0 %} <img src="{{ vich_uploader_asset(command.product.images.0, 'imageFile') | imagine_filter('thumb_cart') }}" alt="{{command.product.title}}" class="img-fluid"> {% else %} <img src="{{ asset('build/images/default-image.jpg') | imagine_filter('thumb_cart') }}" alt="{{command.product.title}}" class="img-fluid"> {% endif %} </div> </td> <td>{{command.product.title}}</td> <td>{{command.price|number_format(2, ',', '')}} €</td> <td>{{command.quantity}}</td> </tr> {% else %} <tr> <td colspan="6">Aucun enregistrement</td> </tr> {% endfor %} </tbody> </table> </div> <div class="btn btn-red text-light w-100 rounded"> <h4>Total TTC : {{command.totalOrderTtc}} €</h4> </div> </div> </div> </section> {% endblock %}