{% extends "base.html.twig" %} {% block stylesheets %} {% endblock %} {% block body %} {% for client in clients %} {% endfor %} {% for compo in composants %} {% endfor %} {% for pc in pcs %} {% endfor %}
Nombre d'heure restantes : 0 H
{{form_start(form)}}
{{form_row(form.description)}}
{{form_row(form.distance)}} {{form_row(form.heure)}}

{% if intervention is defined %} {% for article in intervention.getArticles() %} {% if article.isComposant() %} {% set compo = compoRepo.findOneByConcat(article.article.__toString()) %} {% include "reparations/templates/devisLine.html.twig" with { qte : article.quantite, tva :tva, id : loop.index, compo : compo} %} {% set compo = null %} {% elseif article.isPc() %} {% set pc = pcRepo.findOneBy({'modele' : article.article.getModele() }) %} {% include "reparations/templates/devisLine.html.twig" with { qte : article.quantite,tva :tva, id : loop.index, pc : pc} %} {% set pc = null %} {% else %} {% include "reparations/templates/devisLine.html.twig" with {presta : article.article, tva :tva, id : loop.index} %} {% endif %} {% endfor %} {% endif %}
Description Quantité HT Unitaire TTC Unitaire Total TTC
Annuler
{{form_end(form)}}
{% endblock %}