{% extends 'YOUAdminBundle::layout.html.twig' %}
{% block body %}
Remboursement en attente
{% for item in cmd %}
{% set rembourse = 0 %}
{% set haveNoValidate = 0 %}
{% for part in item.contentPart %}
{% for content in part.content %}
{% if content.statut == 0 %}
{% set haveNoValidate = 1 %}
{% endif %}
{% if content.statut == -1 %}
{% set rembourse = rembourse+content.prix+content.livraisonPrice %}
{% endif %}
{% endfor %}
{% endfor %}
{% if haveNoValidate == 0%}
-
[{{ item.id }}] {{ item.user.basic.nom }} {{ item.user.basic.prenom }} ( {{ item.user.email }} ) :
{{ rembourse|toeuro }}
{{ item.panier.adresseFacturation.adresse }} {{ item.panier.adresseFacturation.adresse2 }} {{ item.panier.adresseFacturation.cp }} {{ item.panier.adresseFacturation.ville }}
tél : {{ item.panier.adresseFacturation.tel }} {{ item.panier.adresseFacturation.portable }}
{% endif %}
{% endfor %}
{% endblock %}