{% extends "YOUCommercantBundle::layout.html.twig" %} {% block container %}


Commande N°{{ commande.commande.commande.id }}



{{ commande.commande.commande.date|date('d/m/Y \à H:i') }}

Montants TTC: {{ (commande.commande.montant)|toeuro }}

{% if commande.commande.commande.panier.adresseFacturation.civilite is defined %} {% set civ = commande.commande.commande.panier.adresseFacturation.civilite %} {% else %} {% set civ = '' %} {% endif %}

Nombre d'articles : {{ commande.totalItem }}

Total articles : {{ (commande.commande.montant-commande.livraisonTotalPrice+commande.commande.reduc)|toeuro }}

{% if commande.commande.reduc and commande.commande.reduc > 0 %}

Code promo : -{{commande.commande.reduc|toeuro}}

{% endif %} {% if commande.commande.freeShipping %}

Code promo : Frais de port gratuit

{% else %}

Total frais de port : {{ (commande.livraisonTotalPrice)|toeuro }}

{% endif %} {% if commande.commande.paymentOnline > 0 %}

Commission Consommez En France.com : {{ (commande.commande.eurosCommission+((commande.commande.paymentOnline/100)*commande.commande.percentCommission))|toeuro }}

{% endif %} {% if commande.commande.paymentOnline > 0 %}

TOTAL ENCAISSE: {{ (commande.commande.paymentOnline-(commande.commande.eurosCommission+((commande.commande.paymentOnline/100)*commande.commande.percentCommission)))|toeuro }}

{% endif %} {% if commande.commande.paymentOffline > 0 %}

Paiement sur place / à livraison ttc : {{commande.commande.paymentOffline|toeuro}}

{% endif %}

Information client

{% if civ == 0 %}M.{% elseif civ == 1 %}Mlle {% else %}Mme {% endif %} {% if commande.commande.commande.panier.adresseFacturation.nom is defined %} {{ commande.commande.commande.panier.adresseFacturation.nom|upper }} {% endif %} {% if commande.commande.commande.panier.adresseFacturation.prenom is defined %} {{ commande.commande.commande.panier.adresseFacturation.prenom|capitalize }} {% endif %}

{% if commande.commande.commande.panier.adresseFacturation.adresse is defined %}

{{ commande.commande.commande.panier.adresseFacturation.adresse }}

{{ commande.commande.commande.panier.adresseFacturation.adresse2 }}

{{ commande.commande.commande.panier.adresseFacturation.cp }} {{ commande.commande.commande.panier.adresseFacturation.ville }}

{{ commande.commande.commande.panier.adresseFacturation.pays.nomfr }}

{{ commande.commande.commande.panier.adresseFacturation.tel }} / {{ commande.commande.commande.panier.adresseFacturation.portable }}

{% endif %} Ecrire un message

{% for flashMessage in app.session.flashbag.get('errorCode') %}

{{ flashMessage }}

{% endfor %} {% for key, block in commande.blocks %}
{% if block.type == 'livraison' %} {% include 'YOUCommercantBundle:Commande:livraison.html.twig' %} {% endif %} {% if block.type == 'retrait' %} {% include 'YOUCommercantBundle:Commande:retraits.html.twig' %} {% endif %} {% if block.type == 'service' %} {% include 'YOUCommercantBundle:Commande:service.html.twig' %} {% endif %} {% set livraisonPrice = 0 %} {% for item in block.item %} {% if block.type == 'livraison' %} {% set livraisonPrice = livraisonPrice+item.livraisonPrice %} {% endif %} {% set total = item.prix*item.count %} {% endfor %} {% if block.type == 'livraison' %} {% endif %}
Article Quantité Prix unitaire Prix total statut
{{ item.product.titre }} {% if item.panierContent.panierComposition %} - {{item.panierContent.panierComposition.title}} {% endif %} {# orientation #} {% if item.panierContent.panierComposition %}
Composition : {{item.panierContent.panierComposition.title}} {% if item.panierContent.panierComposition.orientation1 > 0 or item.panierContent.panierComposition.orientation2 > 0 %} | {% endif %} {% if item.panierContent.panierComposition.orientation1 > 0 %} {% if item.panierContent.panierComposition.orientation1 == 2 %} Droite {% else %} Gauche {% endif %} {% endif %} {% if item.panierContent.panierComposition.orientation1 > 0 and item.panierContent.panierComposition.orientation2 > 0 %} | {% endif %} {% if item.panierContent.panierComposition.orientation2 > 0 %} {% if item.panierContent.panierComposition.orientation2 == 2 %} Bas {% else %} Haut {% endif %} {% endif %}
{% endif %} {# options / options avancées #} {% for panierContentOption in item.panierContent.panierContentOptions %}
{{panierContentOption.optionTitle}} : "{{ panierContentOption.name }}"
{% endfor %} {% for panierContentOption in item.panierContent.panierContentAdvancedOptions %}
{{panierContentOption.advancedTitle}} - {{panierContentOption.advancedSubtitle}} - {{panierContentOption.optionTitle}} : "{{ panierContentOption.name }}"
{% endfor %}
{{ item.count }} {{ item.prix|toeuro }}{{ total|toeuro }} {% if item.statut == 0 %} Vous devez accepter ci-dessus {% endif %} {% if item.statut > 0 and item.statut < 9 %} {% if item.livreur %} Colis en préparation {% elseif (item.rdv and item.statut < 3) %} RDV à confirmer {% else %} RDV confirmé {% endif %} {% endif %} {% if item.statut == 9 %} {% if item.livreur %} Colis expédié {% elseif item.rdv %} Terminé {% else %} Terminé {% endif %} {% endif %} {% if item.paymentMode == 1 %}
Paiement sur place
{% endif %} {% if item.paymentMode == 2 %}
Paiement à la livraison
{% endif %}
Frais de port {{ livraisonPrice|toeuro }}


{% endfor %}
{% endblock %} {% block append_javascript %} {{ parent() }} {% endblock %} {# {% extends "YOUCommercantBundle::layout.html.twig" %} {% block container %}


Commande N°{{ commande.commande.commande.id }}



{{ commande.commande.commande.date|date('d/m/Y \à H:i') }}

Montants TTC: {{ (commande.commande.montant)|toeuro }}

{% if commande.commande.panier.adresseFacturation.civilite is defined %} {% set civ = commande.commande.commande.panier.adresseFacturation.civilite %} {% else %} {% set civ = '' %} {% endif %}

Nombre d'articles : {{ commande.totalItem }}

Total articles : {{ (commande.commande.montant-commande.livraisonTotalPrice+commande.commande.reduc)|toeuro }}

{% if commande.commande.reduc and commande.commande.reduc > 0 %}

Code promo : -{{commande.commande.reduc|toeuro}}

{% endif %} {% if commande.commande.freeShipping %}

Code promo : Frais de port gratuit

{% else %}

Total frais de port : {{ (commande.livraisonTotalPrice)|toeuro }}

{% endif %} {% if commande.commande.paymentOnline > 0 %}

Commission Consommez En France.com : {{ (commande.commande.eurosCommission+((commande.commande.paymentOnline/100)*commande.commande.percentCommission))|toeuro }}

{% endif %} {% if commande.commande.paymentOnline > 0 %}

TOTAL ENCAISSE: {{ (commande.commande.paymentOnline-(commande.commande.eurosCommission+((commande.commande.paymentOnline/100)*commande.commande.percentCommission)))|toeuro }}

{% endif %} {% if commande.commande.paymentOffline > 0 %}

Paiement sur place / à livraison ttc : {{commande.commande.paymentOffline|toeuro}}

{% endif %}

Information client

{% if civ == 0 %}M.{% elseif civ == 1 %}Mlle {% else %}Mme {% endif %} {% if commande.commande.commande.panier.adresseFacturation.nom %} {{ commande.commande.commande.panier.adresseFacturation.nom|upper }} {% endif %} {% if commande.commande.panier.adresseFacturation.prenom is defined %} {{ commande.commande.panier.adresseFacturation.prenom|capitalize }} {% endif %}

{% if commande.commande.panier.adresseFacturation.adresse is defined %}

{{ commande.commande.panier.adresseFacturation.adresse }}

{{ commande.commande.panier.adresseFacturation.adresse2 }}

{{ commande.commande.panier.adresseFacturation.cp }} {{ commande.commande.panier.adresseFacturation.ville }}

{{ commande.commande.panier.adresseFacturation.pays.nomfr }}

{{ commande.commande.panier.adresseFacturation.tel }} / {{ commande.commande.panier.adresseFacturation.portable }}

{% endif %} {% if commande.commande.user.id is defined %} Ecrire un message

{% endif %}
{% for flashMessage in app.session.flashbag.get('errorCode') %}

{{ flashMessage }}

{% endfor %} {% for key, block in commande.blocks %}
{% if block.type == 'livraison' %} {% include 'YOUCommercantBundle:Commande:livraison.html.twig' %} {% endif %} {% if block.type == 'retrait' %} {% include 'YOUCommercantBundle:Commande:retraits.html.twig' %} {% endif %} {% if block.type == 'service' %} {% include 'YOUCommercantBundle:Commande:service.html.twig' %} {% endif %} {% set livraisonPrice = 0 %} {% for item in block.item %} {% if block.type == 'livraison' %} {% set livraisonPrice = livraisonPrice+item.livraisonPrice %} {% endif %} {% set total = item.prix*item.count %} {% endfor %} {% if block.type == 'livraison' %} {% endif %}
Article Quantité Prix unitaire Prix total statut
{% if (item.product.titre) %} {{ item.product.titre }} {% endif %} {% if item.panierContent.panierComposition.title is defined %} - {{item.panierContent.panierComposition.title}} {% endif %} {# orientation #} {% if item.panierContent.panierComposition is defined %}
Composition : {% if item.panierContent.panierComposition.title is defined %} {{item.panierContent.panierComposition.title}} {% endif %} {% if (item.panierContent.panierComposition.orientation1 is defined) and (item.panierContent.panierComposition.orientation2 is defined) %} {% if item.panierContent.panierComposition.orientation1 > 0 or item.panierContent.panierComposition.orientation2 > 0 %} | {% endif %} {% if item.panierContent.panierComposition.orientation1 > 0 %} {% if item.panierContent.panierComposition.orientation1 == 2 %} Droite {% else %} Gauche {% endif %} {% endif %} {% if item.panierContent.panierComposition.orientation1 > 0 and item.panierContent.panierComposition.orientation2 > 0 %} | {% endif %} {% if item.panierContent.panierComposition.orientation2 > 0 %} {% if item.panierContent.panierComposition.orientation2 == 2 %} Bas {% else %} Haut {% endif %} {% endif %} {% endif %}
{% endif %} {# options / options avancées #} {% if panierContentOption is defined %} {% for panierContentOption in item.panierContent.panierContentOptions %}
{{panierContentOption.optionTitle}} : "{{ panierContentOption.name }}"
{% endfor %} {% for panierContentOption in item.panierContent.panierContentAdvancedOptions %}
{{panierContentOption.advancedTitle}} - {{panierContentOption.advancedSubtitle}} - {{panierContentOption.optionTitle}} : "{{ panierContentOption.name }}"
{% endfor %} {% endif %}
{{ item.count }} {{ item.prix|toeuro }}{{ total|toeuro }} {% if item.statut == 0 %} Vous devez accepter ci-dessus {% endif %} {% if item.statut > 0 and item.statut < 9 %} {% if item.livreur %} Colis en préparation {% elseif (item.rdv and item.statut < 3) %} RDV à confirmer {% else %} RDV confirmé {% endif %} {% endif %} {% if item.statut == 9 %} {% if item.livreur %} Colis expédié {% elseif item.rdv %} Terminé {% else %} Terminé {% endif %} {% endif %} {% if item.paymentMode == 1 %}
Paiement sur place
{% endif %} {% if item.paymentMode == 2 %}
Paiement à la livraison
{% endif %}
Frais de port {{ livraisonPrice|toeuro }}


{% endfor %}
{% endblock %} {% block append_javascript %} {{ parent() }} {% endblock %} #}