{% if commandes|length == 0 %}
Aucune demande de livraison
{% endif %}
{% if (boolbutton)=="0" %}
Tout en livraison effectuée
Tout en echec livraison
Tout en double livraison
{% else %} {% endif %}

Feuille de route {% for commande in commandes %} {% if loop.first %} {{commande.livraison.reference}} ; Livreur: {{ commande.livreur.nom}}
Total commande: {{ totalcommande}} , Total commande effectuée: {{ totalcommandeeffecture}} , Total commande echec: {{ totalcommandeechec}} , {% if (commande.livraison.statut ) =="Finalisé" %} {{commande.livraison.statut}} -Date de traitement: {{commande.livraison.datelivraison|date('d-m-Y H:i:s')}} {% else %} {{commande.livraison.statut}} {% endif %} {% endif %} {% endfor %}

Le livreur a atteint {{ ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') }} % de ses objectifs assigner sur cette feuille de route

{% if ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') < 25 |round(2, 'floor')%}
{% endif %} {% if ( ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') > 25 |round(2, 'floor') ) and ( ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') <75 |round(2, 'floor') ) %}
{% endif %} {% if ((totalcommandeeffecture|trim /totalcommande|trim )*100 )|round(2, 'floor') > 75 |round(2, 'floor')%}
{% endif %}
{% for commande in commandes %} {% set refTva = 0 %} {% for produit in commande.produit %} {% set refTva = refTva+ produit.lproduit.prixunitaire %} {% endfor %} {# #} {# #} {% endfor %}
Info Article(s) Action
{{commande.numerocommande}} {% if commande.reducbool.designation =="OUI" %} / Reduction de :{{ commande.montantreduction }}   francs {% endif %}
{{ commande.adresseclientlivraison }}
{{ commande.fraislivraison }} FCFA
{{ commande.adresseclientlivraison }}
{% if commande.reducbool.designation =="OUI" %} {% endif %} {% if commande.paiementbool.designation =="OUI" %} {% endif %} {% if commande.reducbool.designation =="OUI" %} {% endif %} {% if commande.paiementbool.designation =="OUI" %} {% endif %}
Designation Quantité. Prix.Reduction montant.Paiement par avance.
{% for produit in commande.produit %} {{produit.lproduit.designation}} /
{% endfor %}
{% for produit in commande.produit %}{{ produit.quantite }}
{% endfor %}
{% for produit in commande.produit %}{{ produit.lproduit.prixunitaire }}
{% endfor %}
{{ commande.montantreduction|number_format(0, ',', ' ') }} {{ commande.montantpaiementavance|number_format(0, ',', ' ') }}
{% if (boolbutton)=="0" %}

Type de statut:


{#
#} {# #} {#
#} {#
#} {# #} {% else %} {% if (boolbutton)=="0" %} {{commande.typestatut.designation}} {% else %} {{commande.typestatutfeuille.designation}} {% endif %}

Commentaire:
{% if commande.commentaire %} {{commande.commentaire}} {% else %} Non fourni {% endif %} {% endif %}
{{produit.lproduit.prixunitaire|number_format(2, ',', ' ') }} Francs {{produit.quantite}} {{produit.lproduit.prixunitaire * produit.quantite }} Francs
{% if (boolbutton)=="0" %}
{% else %} {% endif %}

Recapitulatif avec le livreur Total a versé

Qte Total : {{quant}}
Tot. Frais Livr.: {{frais}} FCFA
Reduction: {{montantreduc}} FCFA
Avance: {{montantpaiement}} FCFA
Total: {{prixtotal - montantreduc - montantpaiement}} FCFA

Recapitulatif avec le livreur ( livraison effectuée)

Qte Total : {{quanteffectuer}}
Tot. Frais Livr.: {{fraiseffectuer}} FCFA
Reduction: {{montantreduc1}} FCFA
Avance: {{montantpaiement1}} FCFA
Total : {{prixtotaleffectuer - montantreduc1 - montantpaiement1 }} FCFA

Recapitulatif avec le livreur ( doublon)

Qte Total : {{quantdoublon}}
Tot. Frais Livr.: {{fraisdoublon}} FCFA
Reduction: {{montantreduc3}} FCFA
Avance: {{montantpaiement3}} FCFA
Total : {{prixtotaldoublon - montantreduc3 - montantpaiement3 }} FCFA

Recapitulatif avec le livreur ( echec Livraison)

Qte Total : {{quantechec}}
Tot. Frais Livr.: {{fraisechec}} FCFA
Reduction: {{montantreduc2}} FCFA
Avance: {{montantpaiement2}} FCFA
Total: {{prixtotalechec - montantreduc2 - montantpaiement2 }} FCFA
{% if (quant) == (quanteffectuer + quantechec + quantdoublon) %}
{% if (boolbutton)=="0" %} {% else %} {% endif %}
{% else %} {% endif %}