{% for presta in devis.getPrestation() %} {% if presta.isComposant %} {% set compo = compoRepo.findOneByConcat(presta.description) %} {% if compo.quantite < presta.quantite %} {% endif %} {% endif %} {% endfor %} {% for article in devis.articles %} {% if article.isComposant %} {% set compo = compoRepo.find(article.article.id) %} {% if compo.quantite < article.quantite %} {% if article.hasCommandeFournisseur() %} {% set cmdSupplier = article.getCommandeFournisseur() %} {% if article.commandeFournisseur.status.id == 13 %} {% elseif article.commandeFournisseur.status.id == 9 %} {% else %} {% endif %} {% endif %} {% endif %} {% endif %} {% endfor %}
Infos Composant Requis Disponible
{{ compo }} {{ presta.quantite }} {{ compo.quantite }}
Commande passé le {{ cmdSupplier.getFormattedDateOrder() }} Commande reçu le {{ cmdSupplier.getFormattedDateOrder() }} Commande à effectuer {{ compo }} {{ article.quantite }} {{ compo.quantite }}