{% extends "base.html.twig" %} {% block stylesheets %} {% endblock %} {% block body %} {% set client = intervention.client %} {% set diag = intervention.diag %} {% for compo in composants %} {% endfor %}
{% include "utils/error.html.twig" %}
Total HT : {% if devis is defined %} {{devis.getTotalHT(tva)}} {% else %} 0 {% endif %}
TVA: {{tva}} %
Total TTC : {% if devis is defined %} {{devis.getTotalTTC()}} {% else %} 0 {% endif %}
{% include 'client/banner.html.twig' with {client : client} %}
Type de l'intervention : {{intervention.type | replace({'_': ' '}) | capitalize }}
{% set textareaValue = "" %} {% if devis is defined %} {% set textareaValue = devis.infos | trim %} {% endif %}
{% if intervention.type == "diagnostique_sur_place" %}
Retour Atelier
{% endif %}

{% if diag != null %}

Dernière mise à jour : {% if diag == null %} N/C {% else %} {{diag.getDateUpdate()}} {% endif %}

{{form_start(form,{action : path('intervention.edit.diag') ~ '?num='~ intervention.id})}}
Test HDD : {% include "/reparations/templates/disqueDiag.html.twig" with {disque : diag.getSSD1()} %} {% include "/reparations/templates/disqueDiag.html.twig" with {disque : diag.getSSD2()} %} {% include "/reparations/templates/disqueDiag.html.twig" with {disque : diag.getHDD1()} %} {% include "/reparations/templates/disqueDiag.html.twig" with {disque : diag.getHDD2()} %} {% include "/reparations/templates/disqueDiag.html.twig" with {disque : diag.getHDD3()} %}
OCCT :
{% set occt = diag.getOcctCpu() %}
{{form_row(form.passmark)}}
{% if diag is defined %} {% set occt = diag.getOcctGpu() %} {% endif %}
{{form_row(form.tdmark)}}
OCCT Après:
{% set occt = diag.getOcctCpu2() %}
{% if diag is defined %} {% set occt = diag.getOcctGpu2() %} {% endif %}
CheckUp :
{{form_row(form.adw)}} {{form_row(form.glary)}}
{{form_row(form.mbm)}} {{form_row(form.temp_preftech)}}
{{form_row(form.obs1)}} {{form_row(form.obs2)}}
Annuler {{form_row(form.submit)}}
{{form_end(form)}}
{% endif %} {% if devis is defined %} {% for article in devis.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
{% endblock %}{% block javascripts %} {% endblock %}