{% extends 'layout_admin.html.twig' %}
{% form_theme form 'bootstrap_4_layout.html.twig' %}
{% form_theme form2 'bootstrap_4_layout.html.twig' %}
{% form_theme form3 'bootstrap_4_layout.html.twig' %}
{% form_theme form4 'bootstrap_4_layout.html.twig' %}
{% form_theme form5 'bootstrap_4_layout.html.twig' %}
{% block contentAdmincontent %}
Export des produits commandés
{{ dump(commandes2019Orleans) }}
Exporter la synthèse des commandes par compagnon
{{ form(form4) }}
{% if yearPaquetage %}
Export CSV
{% endif %}
Exporter la synthèse des commandes par catégorie
{{ form(form5) }}
{% if yearPaquetage2 %}
Export Synthese CSV
{% endif %}
Recherche par compagnon
{{ form_start(form3) }}
{{ form_label(form3.recherche,'Nom du compagnon') }}
{{ form_widget(form3.recherche) }}
{{ form_errors(form3.recherche) }}
{{ form_label(form3.yearOrder,'Année du paquetage') }}
{{ form_widget(form3.yearOrder) }}
{{ form_errors(form3.yearOrder) }}
{{ form_end(form3) }}
{% if commandesUser %}
Résultat : liste des commandes
{% for commandeUser in commandesUser %}
Commande n° {{ commandeUser.reference }}
Date: {{ commandeUser.date | date('d/m/Y') }}
| # |
libellé |
taille |
quantité |
{% for commande in commandeUser.commande %}
| {{ loop.index }} |
{{ commande.libelle }} |
{{ commande.taille }} |
{{ commande.qte }} |
{% endfor %}
{% endfor %}
{% if userSearchId %}
{% endif %}
{% endif %}
{##}
{#
#}
{#Recherche par agence et par type de paquetage#}
{#
#}
{#{{ form_start(form) }}#}
{#{{ form_label(form.agence,'Agence') }}#}
{#{{ form_widget(form.agence) }}#}
{#{{ form_errors(form.agence) }}#}
{#{{ form_label(form.qualification,'Type de paquetage') }}#}
{#{{ form_widget(form.qualification) }}#}
{#{{ form_errors(form.qualification) }}#}
{#{{ form_end(form) }}#}
{##}
{#{% if agence %}#}
{##}
{#{% endif %}#}
{#{% if paquetageType %}#}
{##}
{#{% endif %}#}
{#
#}
{##}
{#
#}
{#Lancer la recherche pour toutes les agences#}
{#
#}
{#{{ form(form2) }}#}
{##}
{#
#}
{#Résultat de votre recherche : liste des produits commandés
#}
{##}
{#{% if syntheseCommande %}#}
{#
#}
{#
#}
{##}
{##}
{#| # | #}
{#libellé | #}
{#taille | #}
{#quantité | #}
{#
#}
{##}
{##}
{#{% for pdt in syntheseCommande %}#}
{##}
{#| {{ loop.index }} | #}
{#{{ pdt.libelle }} | #}
{#{{ pdt.taille }} | #}
{#{{ pdt.qty }} | #}
{#
#}
{#{% endfor %}#}
{##}
{#
#}
{#
#}
{#
#}
{#{% else %}#}
{#
aucun résultat
#}
{#{% endif %}#}
{#
#}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% endblock %}