{% extends "base.html.twig" %} {% block stylesheets %} {% endblock %} {% block body %} {% if devis is defined %} {% set rep = devis.getReparation() %} {% endif %} {% set diag = rep.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 : rep.client} %}

{% if rep.client.getType() == 'Professionnel' %} {% set readonly = 'readonly' %} {% endif %}
{% if diag != null %}

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

{{form_start(form,{'action': path('reparation.edit',{submenu : 'diag'}) ~ '?num=' ~ rep.numero})}}
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 %}

{% set ram = diag.ram %} RAM :
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,article :article, ean : article.article.ISBN} %} {% 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 %} {% if devis is defined %} {% for presta in devis.getPrestation() %} {% if presta.isComposant() %} {% set compo = compoRepo.findOneByConcat(presta.description) %} {% include "reparations/templates/devisLine.html.twig" with {presta : presta, tva :tva, id : loop.index, compo : compo} %} {% set compo = null %} {% else %} {% include "reparations/templates/devisLine.html.twig" with {presta : presta, tva :tva, id : loop.index} %} {% endif %} {% endfor %} {% if devis.getPrestation() is empty and devis.getArticles() is empty %} {% endif %} {% endif %}
Description Code EAN Quantité HT Unitaire TTC Unitaire Total TTC
Aucun article / service n'a été ajouté
Annuler
{# Modal Creation Composant #} {% endblock %} {% block javascripts %} {% endblock %}