{% if is_granted('ROLE_SUPER_ADMIN') %} Tout selectionnez

{% endif %} {#

Export Table

#} {# Tout selectionnez

#} {# {% for message in app.flashes('success') %}
{{ message }}
{% endfor %} #}
{# #} {# #} {# #} {% for livraison in livraison %} {% set boolbutton = 0 %} {% for commande in livraison.commande %} {% if loop.first %} {% if (commande.livraison.statut ) =="Finalisé" or (commande.livraison.statut ) =="Cloturer" %} {% set boolbutton = 1 %} {% else %} {% set boolbutton = 0 %} {% endif %} {% endif %} {% endfor %} {% set quant = 0 %} {% set frais = 0 %} {% set prixtotal = 0 %} {% for commande in livraison.commande %} {% set frais = frais+ commande.fraislivraison %} {% for produit in commande.produit %} {% set quant = quant+ produit.quantite %} {% set prixtotal = prixtotal+ produit.quantite * produit.lproduit.prixunitaire - commande.montantreduction - commande.montantpaiementavance %} {% endfor %} {% endfor %} {% set quanteffectuer = 0 %} {% set fraiseffectuer = 0 %} {% set prixtotaleffectuer = 0 %} {% for commande in livraison.commande if (commande.typestatut.designation == "livraison effectuée" )%} {% set fraiseffectuer = fraiseffectuer+ commande.fraislivraison %} {% for produit in commande.produit %} {% set quanteffectuer = quanteffectuer+ produit.quantite %} {% set prixtotaleffectuer = prixtotaleffectuer+ produit.quantite * produit.lproduit.prixunitaire - commande.montantreduction - commande.montantpaiementavance %} {% endfor %} {% endfor %} {% if (boolbutton)=="0" %} {% set quantechec = 0 %} {% set fraisechec = 0 %} {% set prixtotalechec = 0 %} {% for commande in livraison.commande if (commande.typestatut.designation == "echec Livraison" )%} {% set fraisechec = fraisechec+ commande.fraislivraison %} {% for produit in commande.produit %} {% set quantechec = quantechec+ produit.quantite %} {% set prixtotalechec = prixtotalechec+ produit.quantite * produit.lproduit.prixunitaire - commande.montantreduction - commande.montantpaiementavance %} {% endfor %} {% endfor %} {% else %} {% set quantechec = 0 %} {% set fraisechec = 0 %} {% set prixtotalechec = 0 %} {% for commande in livraison.commande if (commande.typestatutfeuille.designation == "echec Livraison" )%} {% set fraisechec = fraisechec+ commande.fraislivraison %} {% for produit in commande.produit %} {% set quantechec = quantechec+ produit.quantite %} {% set prixtotalechec = prixtotalechec+ produit.quantite * produit.lproduit.prixunitaire - commande.montantreduction - commande.montantpaiementavance %} {% endfor %} {% endfor %} {% endif %} {% if (app.user.module.showfrout) == "TRUE" %} {% else %} {% endif %} {# {{ include('commandes/_delete_form.html.twig') }} #} {% endfor %}
N° feuille.Nom PrenomsDateArticleAdresseclientSociété Livreur Etat M. en cours M. echecs M. frais M. encaissé Actions
{{ livraison.reference }} {{ livraison.reference }} {{ livraison.datemiseenlivraison|date('d-m-Y H:i') }} {% for commandes in livraison.commande %} {% if loop.first %} {{commandes.livreur.societe }} {% endif %} {% endfor %} {% for commandes in livraison.commande %} {% if loop.first %} {{commandes.livreur.nom }} {{commandes.livreur.prenoms }} {% endif %} {% endfor %} {% if (livraison.statut ) =="Finalisé" %} {{livraison.statut}} {% endif %} {% if (livraison.statut ) =="En livraison" %} {{livraison.statut}} {% endif %} {% if (livraison.statut ) =="Cloturer" %} {{livraison.statut}} {% endif %} {{prixtotal|number_format(0, ',', ' ')}} {{prixtotalechec|number_format(0, ',', ' ')}} {{fraiseffectuer|number_format(0, ',', ' ')}} {{prixtotaleffectuer|number_format(0, ',', ' ')}}
local_printshop {# {% if is_granted('ROLE_SUPER_ADMIN') %} picture_in_picture_alt {% endif %} #}