{% if (commande.typestatut.designation) in ['Achat non effectué','Achat effectué'] %}

Proccessus de retrait de commande au magasin numéro commande: {{ commande.numerocommande }} {% if (commande.typestatut.designation) in ['Achat non effectué'] %} Achat non effectué {% else %} Achat effectué {% endif %}

veuillez imprimer le recu apres Visionnage et Confirmation des informations ci dessous
{% endif %} {% if (commande.typestatut.designation) in ['livraison effectuée','en Livraison','echec Livraison'] %}

Commande numéro: {{ commande.numerocommande }} {% if (commande.typestatut.designation) in ['en Livraison'] %} En cour de livraison par: {% else %} Livrée par: {% endif %} {{ commande.livreur.nom }} / {{ commande.livreur.societe }} /{{ commande.livreur.contact1 }} - {{ commande.livreur.contact2 }}

{% else %}

Commande {{ commande.numerocommande }}

{% endif %} {% if commande.paiementbool.designation =="OUI" %}

Mode de paiement : {{ commande.modepaiementparavance }}

{% endif %} {# {% for label, flashes in app.session.flashbag.all %} {% for flash in flashes %} {% if ( label == 'success' ) %}
{{ flash }}
{% elseif ( label == 'danger' ) %}
{{ flash }}
{% endif %} {% endfor %} {% endfor %} #} {# {% for label, messages in app.flashes(['warning', 'error']) %} {% for message in messages %}
{{ message }}
{% endfor %} {% endfor %} #} {% for label, messages in app.flashes %} {% for message in messages %} {% endfor %} {% endfor %} {% for label, messages in app.flashes %} {% for message in messages %} {% endfor %} {% endfor %}

Informations client

Nom et Prenoms : {{commande.nom}}  {{commande.prenoms}}
Email: {{ commande.email }}
Contact telephonique: {{ commande.telephone }} / {{ commande.contact }}
AGENCE COMMANDE: {% if commande.uotreich == "ECOTECH"%} AGENCE COCODY TERMINUS 81 {% endif %} {% if commande.uotreich == "EAS-TREICH"%} AGENCE TREICHVILLE {% endif %} {% if commande.uotreich == "CONNECTIC"%} CONNECTIC {% endif %}

Informations de livraison

Priorité: {% if commande.priorite.designation is defined %} {{ commande.priorite.designation }} {% endif %}
Commune: {% if commande.typecommune.designation is defined %} {{ commande.typecommune.designation }} {% else %} NON FOURNI {% endif %}
Adresse de livraison: {{ commande.adresseclientlivraison }}

Informations sur le produit

{{ message }}
{# #} {% for produit in commande.produit %} {% endfor %}
Articles Prix unitaire Quantité TotalProgress Start Date Delivery Date Action
{{produit.lproduit.designation}} {{produit.lproduit.prixunitaire|number_format(0, ',', ' ') }} FCFA {{produit.quantite|number_format(0, ',', ' ')}} {{ (produit.lproduit.prixunitaire * produit.quantite)|number_format(0, ',', ' ')}} FCFA
{% if (commande.typestatut.designation) in ['echec Livraison' ] %}

Informations complementaire sur la commandes

{{commande.commentaire}}
{% endif %}

Statut de la transaction ( {{ commande.statuttransaction }} ) il reste à versé {{ commande.ecarttransaction }}

{% if listquerytransaction is defined %} {% if listquerytransaction|length != 0 %} {% for listquerytransaction in listquerytransaction %} {% if loop.first %} {% if commande.statuttransaction == listquerytransaction.statuttransaction %} {% if app.user is not null %} {{app.user.nom}} {{app.user.prenoms}}; Ceci est l'historique des statuts,si le dernier statut est different sur ce qui est juste en haut veuillez signalé à l'informaticien.Merci {% else %} {{app.user.nom}} {{app.user.prenoms}}; Cette commande a eu surement un soucis dans la mise a jour de l'historique veuillez signalé à l'informaticien.Merci {% endif %} {% endif %} {% endif %} {% endfor %} {% endif %} {% endif %}
{% if listquerytransaction is defined %} {% if listquerytransaction|length != 0 %} {% for listquerytransaction in listquerytransaction %} {% endfor %} {% else %} PAS DE ITEMS {% endif %} {% endif %}
Statut transaction Agent qui a remis au dispatching Montant remis Date
{{ listquerytransaction.statuttransaction|title }} {{ listquerytransaction.usertransaction.username }} {{ listquerytransaction.montanttransaction|number_format(0, ',', ' ') }} {{listquerytransaction.datetransaction|date('d-m-Y H:i:s')}}

Statut de la commande ( {{ commande.typestatut.designation }} )

{% if listqueryordo is defined %} {% if listqueryordo|length != 0 %} {% for listqueryordo in listqueryordo %} {% if loop.first %} {% if commande.typestatut.id == listqueryordo.statut.id %} {% if app.user is not null %} {{app.user.nom}} {{app.user.prenoms}}; Ceci est l'historique des statuts,si le dernier statut est different sur ce qui est juste en haut veuillez signalé à l'informaticien.Merci {% else %} {{app.user.nom}} {{app.user.prenoms}}; Cette commande a eu surement un soucis dans la mise a jour de l'historique veuillez signalé à l'informaticien.Merci {% endif %} {% endif %} {% endif %} {% endfor %} {% endif %} {% endif %}
{% if listqueryordo is defined %} {% if listqueryordo|length != 0 %} {% for listqueryordo in listqueryordo %} {% endfor %} {% else %} PAS DE ITEMS {% endif %} {% endif %}
Statut Agent Date
{{ listqueryordo.statut.designation|title }} {{ listqueryordo.userordancement.username }} {{listqueryordo.dateordonancement|date('d-m-Y H:i:s')}}

Recapitulatif prix

{% if commande.reducbool.designation =="OUI" %} {% endif %} {% if commande.paiementbool.designation =="OUI" %} {% endif %}
Sous-Total : {{refTva|number_format(0, ',', ' ') }}  FCFA
Remise: {{ commande.montantreduction }}   francs
Paiement par avance: {{ commande.montantpaiementavance }}   francs
Frais de livraison: {{ commande.fraislivraison|number_format(0, ',', ' ') }}  FCFA
Total ({% if commande.reducbool.designation =="OUI" or commande.paiementbool.designation =="OUI" %} Remise appliquée sur le montant total / Paiement par avance appliquer sur le montant total {% endif %}): {% if commande.reducbool.designation =="OUI" or commande.paiementbool.designation =="OUI" %} {{ ( (refTva + commande.fraislivraison - commande.montantreduction - commande.montantpaiementavance))|number_format(0, ',', ' ') }} {% else %} {{ (refTva + commande.fraislivraison )|number_format(0, ',', ' ') }} {% endif %}   FCFA

Informations complementaires

{% for message in app.flashes('message') %}
{{ message }}
{% endfor %}
{% if listcommentaires is defined %} {% if listcommentaires|length != 0 %} {% for listcommentaires in listcommentaires %} {% endfor %} {% else %} Pas de commentaires {% endif %} {% endif %}
Commentaires Agent Date
{{ listcommentaires.commentaire|title }} {{ listcommentaires.usercommentaire.username|title }} {{ listcommentaires.datecommentaire ? listcommentaires.datecommentaire|date('Y-m-d H:i:s') : '' }}
{% if (commande.typestatut.designation) =="livraison effectuée" %} {% else %} {{ form_start(form) }}
Commentaire(s):
{{ form_widget(form.typestatut) }}
{% if (commande.typestatut.designation) in ['livraison effectuée','prêt pour livraison','en Livraison'] %} Impossible de changer le statut:
{{commande.typestatut.designation|title}}
{% else %} {% endif %}
{{ form_end(form) }} {% endif %}
{% if (commande.typestatut.designation) in ['livraison effectuée','prêt pour livraison','en Livraison'] %}