<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* intervention/popup_devis.html.twig */
class __TwigTemplate_0385272d89ec9962bc0e515d9bc95dc6cd428c9f82fe8e3b6435187744b689d4 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "intervention/popup_devis.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "intervention/popup_devis.html.twig"));

        // line 1
        $context["equipement"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["intervention"]) || array_key_exists("intervention", $context) ? $context["intervention"] : (function () { throw new RuntimeError('Variable "intervention" does not exist.', 1, $this->source); })()), "equipement", [], "any", false, false, false, 1);
        // line 2
        $context["contrat"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipement"]) || array_key_exists("equipement", $context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.', 2, $this->source); })()), "getLastContrat", [], "any", false, false, false, 2);
        // line 3
        $context["devis"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["intervention"]) || array_key_exists("intervention", $context) ? $context["intervention"] : (function () { throw new RuntimeError('Variable "intervention" does not exist.', 3, $this->source); })()), "devis", [], "any", false, false, false, 3);
        // line 4
        $context["ligne_mo"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["intervention"]) || array_key_exists("intervention", $context) ? $context["intervention"] : (function () { throw new RuntimeError('Variable "intervention" does not exist.', 4, $this->source); })()), "getLigneMO", [], "any", false, false, false, 4);
        // line 5
        $context["ligne_deplacement"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["intervention"]) || array_key_exists("intervention", $context) ? $context["intervention"] : (function () { throw new RuntimeError('Variable "intervention" does not exist.', 5, $this->source); })()), "getLigneDeplacement", [], "any", false, false, false, 5);
        // line 6
        yield "<div id=\"popup-devis\" style=\"display:none;\" >
    <div id=\"devis-content\">
        <h3>Équipement</h3>
        <div class=\"d-flex mb-2\">
            ";
        // line 10
        yield Twig\Extension\CoreExtension::include($this->env, $context, "equipement/_famille.html.twig");
        yield "
            ";
        // line 11
        yield Twig\Extension\CoreExtension::include($this->env, $context, "equipement/_type.html.twig");
        yield "
            ";
        // line 12
        yield Twig\Extension\CoreExtension::include($this->env, $context, "equipement/_numero_serie.html.twig");
        yield "
        </div>
        <div class=\"d-flex mb-2\">
            ";
        // line 15
        yield Twig\Extension\CoreExtension::include($this->env, $context, "equipement/energie.html.twig");
        yield "
            ";
        // line 16
        yield Twig\Extension\CoreExtension::include($this->env, $context, "equipement/puissance.html.twig");
        yield "
        </div>

        <h3>Contrat</h3>
        <div class=\"d-flex mb-2\">
            ";
        // line 21
        yield Twig\Extension\CoreExtension::include($this->env, $context, "contrat/_prise_contrat.html.twig");
        yield "
            ";
        // line 22
        yield Twig\Extension\CoreExtension::include($this->env, $context, "contrat/_logement_plus_deux_ans.html.twig");
        yield "
        </div>
        <div class=\"d-flex mb-2\">
            ";
        // line 25
        yield Twig\Extension\CoreExtension::include($this->env, $context, "contrat/_type_contrat.html.twig");
        yield "
            ";
        // line 26
        yield Twig\Extension\CoreExtension::include($this->env, $context, "contrat/_date_debut.html.twig");
        yield "
            ";
        // line 27
        yield Twig\Extension\CoreExtension::include($this->env, $context, "contrat/_date_fin.html.twig");
        yield "
        </div>

        <div class=\"d-flex mb-2\">
            <div class=\"titre-small color-orange mt-2\">Déplacement</div>
            <input type=\"text\" style=\"width:80px\" disabled class=\"form-control bg-grey me-2\" id=\"deplacement-qté\" value=\"";
        // line 32
        ((((isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 32, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 32, $this->source); })()), "quantite", [], "any", false, false, false, 32))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 32, $this->source); })()), "quantite", [], "any", false, false, false, 32), "html", null, true)) : (yield ""));
        yield "\">
            <input type=\"text\" style=\"width:100px\" disabled class=\"form-control bg-grey me-2\" id=\"deplacement-prix-ht\" value=\"";
        // line 33
        ((((isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 33, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 33, $this->source); })()), "getPrixTotalHt", [], "any", false, false, false, 33))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 33, $this->source); })()), "getPrixTotalHt", [], "any", false, false, false, 33), "html", null, true)) : (yield ""));
        yield "\">
            <input type=\"text\" style=\"width:80px\" disabled class=\"form-control bg-grey me-2\" id=\"deplacement-tva\" value=\"";
        // line 34
        ((((isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 34, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 34, $this->source); })()), "getTauxTva", [], "any", false, false, false, 34))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 34, $this->source); })()), "getTauxTva", [], "any", false, false, false, 34), "taux", [], "any", false, false, false, 34), "html", null, true)) : (yield ""));
        yield "\">
            <input type=\"text\" style=\"width:100px\" disabled class=\"form-control bg-grey\" id=\"deplacement-prix-ttc\" value=\"";
        // line 35
        (((isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 35, $this->source); })())) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_deplacement"]) || array_key_exists("ligne_deplacement", $context) ? $context["ligne_deplacement"] : (function () { throw new RuntimeError('Variable "ligne_deplacement" does not exist.', 35, $this->source); })()), "getPrixTotalTtc", [], "any", false, false, false, 35), "html", null, true)) : (yield ""));
        yield "\">
        </div>
        <div class=\"d-flex mb-2\">
            <div class=\"titre-small color-orange mt-2\">Main d'œuvre</div>
            <input type=\"text\" style=\"width:80px\" disabled class=\"form-control bg-grey me-2\" id=\"main-oeuvre-qté\" value=\"";
        // line 39
        ((((isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 39, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 39, $this->source); })()), "quantite", [], "any", false, false, false, 39))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 39, $this->source); })()), "quantite", [], "any", false, false, false, 39), "html", null, true)) : (yield ""));
        yield "\">
            <input type=\"text\" style=\"width:100px\" disabled class=\"form-control bg-grey me-2\" id=\"main-oeuvre-prix-ht\" value=\"";
        // line 40
        ((((isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 40, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 40, $this->source); })()), "getPrixTotalHt", [], "any", false, false, false, 40))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 40, $this->source); })()), "getPrixTotalHt", [], "any", false, false, false, 40), "html", null, true)) : (yield ""));
        yield "\">
            <input type=\"text\" style=\"width:80px\" disabled class=\"form-control bg-grey me-2\" id=\"main-oeuvre-tva\" value=\"";
        // line 41
        ((((isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 41, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 41, $this->source); })()), "getTauxTva", [], "any", false, false, false, 41))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 41, $this->source); })()), "getTauxTva", [], "any", false, false, false, 41), "taux", [], "any", false, false, false, 41), "html", null, true)) : (yield ""));
        yield "\">
            <input type=\"text\" style=\"width:100px\" disabled class=\"form-control bg-grey\" id=\"main-oeuvre-prix-ttc\" value=\"";
        // line 42
        ((((isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 42, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 42, $this->source); })()), "getPrixTotalTtc", [], "any", false, false, false, 42))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ligne_mo"]) || array_key_exists("ligne_mo", $context) ? $context["ligne_mo"] : (function () { throw new RuntimeError('Variable "ligne_mo" does not exist.', 42, $this->source); })()), "getPrixTotalTtc", [], "any", false, false, false, 42), "html", null, true)) : (yield ""));
        yield "\">
        </div>

        <h3>Pièces</h3>
        <table class=\" table table-responsive table-bordered  table-sm table-inverse-color-datagrid mb-0\" style=\"width:786px;\">
            <thead>
            <tr>
                <th>Référence</th>
                <th>Désignation</th>
                <th>P.U. HT</th>
                <th>Qté</th>
                <th>Total HT</th>
                <th>Aff.</th>
                <th>TVA</th>
            </tr>
            </thead>
            <tbody id=\"devis-pieces-table\">
                ";
        // line 59
        if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["devis"]) || array_key_exists("devis", $context) ? $context["devis"] : (function () { throw new RuntimeError('Variable "devis" does not exist.', 59, $this->source); })()), "getDevisLignes", [], "any", false, false, false, 59)) {
            // line 60
            yield "                    ";
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["devis"]) || array_key_exists("devis", $context) ? $context["devis"] : (function () { throw new RuntimeError('Variable "devis" does not exist.', 60, $this->source); })()), "getDevisLignes", [], "any", false, false, false, 60));
            foreach ($context['_seq'] as $context["_key"] => $context["devisLigne"]) {
                // line 61
                yield "                        <tr>
                            <td>";
                // line 62
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["devisLigne"], "getProduit", [], "any", false, false, false, 62), "getCode", [], "any", false, false, false, 62), "html", null, true);
                yield "</td>
                            <td>";
                // line 63
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["devisLigne"], "getProduit", [], "any", false, false, false, 63), "getDesignation", [], "any", false, false, false, 63), "html", null, true);
                yield "</td>
                            <td>";
                // line 64
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["devisLigne"], "getProduit", [], "any", false, false, false, 64), "getPuHt", [], "any", false, false, false, 64), "html", null, true);
                yield "</td>
                            <td>";
                // line 65
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["devisLigne"], "getProduit", [], "any", false, false, false, 65), "getQuantite", [], "method", false, false, false, 65), "html", null, true);
                yield "</td>
                            <td>";
                // line 66
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["devisLigne"], "getProduit", [], "any", false, false, false, 66), "getPrixTotalHt", [], "method", false, false, false, 66), "html", null, true);
                yield "</td>
                            <td>";
                // line 67
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["devisLigne"], "getProduit", [], "any", false, false, false, 67), "getProduitFactureAffectation", [], "any", false, false, false, 67), "getLibelleCourt", [], "any", false, false, false, 67), "html", null, true);
                yield "</td>
                            <td>";
                // line 68
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["devisLigne"], "getProduit", [], "any", false, false, false, 68), "getTauxTva", [], "any", false, false, false, 68), "getTaux", [], "any", false, false, false, 68), "html", null, true);
                yield "</td>
                        </tr>
                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['devisLigne'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 71
            yield "                ";
        }
        // line 72
        yield "            <!-- Les lignes seront ajoutées dynamiquement -->
            </tbody>
        </table>
        <div class=\"d-flex\">
            <div class=\"d-flex flex-column mb-4\">
                <div style=\"height:100px; overflow-y: auto\">
                    <table class=\"table table-responsive table-bordered  table-sm table-inverse-color-datagrid mb-0\" id=\"tab-recap-taux\" style=\"width: 230px\" >
                        <thead  align=\"center\" style=\"vertical-align: middle!important;\"><th>Base HT</th><th>Taux</th><th>Montant</th></thead>
                        <tbody style=\"height: 75px;\">
                        <tr style=\"height: 75px\"><td colspan=\"3\" ></td></tr>
                        </tbody>
                    </table>
                </div>
                <div class=\"d-flex justify-content-end\">
                    <div style=\"width: 90px;margin-right: 2px;\" class=\"bg-grey-table  color-orange text-center\">Total</div>
                    <div style=\"width: 90px;text-align:right\" class=\"bg-grey-table color-orange pe-2\" id=\"total-recap-tab-tva\">0€</div>
                </div>
            </div>
        </div>
    </div>
</div>";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "intervention/popup_devis.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable()
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  209 => 72,  206 => 71,  197 => 68,  193 => 67,  189 => 66,  185 => 65,  181 => 64,  177 => 63,  173 => 62,  170 => 61,  165 => 60,  163 => 59,  143 => 42,  139 => 41,  135 => 40,  131 => 39,  124 => 35,  120 => 34,  116 => 33,  112 => 32,  104 => 27,  100 => 26,  96 => 25,  90 => 22,  86 => 21,  78 => 16,  74 => 15,  68 => 12,  64 => 11,  60 => 10,  54 => 6,  52 => 5,  50 => 4,  48 => 3,  46 => 2,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% set equipement = intervention.equipement %}
{% set contrat = equipement.getLastContrat %}
{% set devis = intervention.devis %}
{% set ligne_mo = intervention.getLigneMO %}
{% set ligne_deplacement = intervention.getLigneDeplacement %}
<div id=\"popup-devis\" style=\"display:none;\" >
    <div id=\"devis-content\">
        <h3>Équipement</h3>
        <div class=\"d-flex mb-2\">
            {{ include('equipement/_famille.html.twig') }}
            {{ include('equipement/_type.html.twig') }}
            {{ include('equipement/_numero_serie.html.twig') }}
        </div>
        <div class=\"d-flex mb-2\">
            {{ include('equipement/energie.html.twig') }}
            {{ include('equipement/puissance.html.twig') }}
        </div>

        <h3>Contrat</h3>
        <div class=\"d-flex mb-2\">
            {{ include('contrat/_prise_contrat.html.twig') }}
            {{ include('contrat/_logement_plus_deux_ans.html.twig') }}
        </div>
        <div class=\"d-flex mb-2\">
            {{ include('contrat/_type_contrat.html.twig') }}
            {{ include('contrat/_date_debut.html.twig') }}
            {{ include('contrat/_date_fin.html.twig') }}
        </div>

        <div class=\"d-flex mb-2\">
            <div class=\"titre-small color-orange mt-2\">Déplacement</div>
            <input type=\"text\" style=\"width:80px\" disabled class=\"form-control bg-grey me-2\" id=\"deplacement-qté\" value=\"{{ ligne_deplacement and ligne_deplacement.quantite ? ligne_deplacement.quantite : '' }}\">
            <input type=\"text\" style=\"width:100px\" disabled class=\"form-control bg-grey me-2\" id=\"deplacement-prix-ht\" value=\"{{ ligne_deplacement and ligne_deplacement.getPrixTotalHt ? ligne_deplacement.getPrixTotalHt : '' }}\">
            <input type=\"text\" style=\"width:80px\" disabled class=\"form-control bg-grey me-2\" id=\"deplacement-tva\" value=\"{{ ligne_deplacement and ligne_deplacement.getTauxTva ? ligne_deplacement.getTauxTva.taux : '' }}\">
            <input type=\"text\" style=\"width:100px\" disabled class=\"form-control bg-grey\" id=\"deplacement-prix-ttc\" value=\"{{ ligne_deplacement  ? ligne_deplacement.getPrixTotalTtc : '' }}\">
        </div>
        <div class=\"d-flex mb-2\">
            <div class=\"titre-small color-orange mt-2\">Main d'œuvre</div>
            <input type=\"text\" style=\"width:80px\" disabled class=\"form-control bg-grey me-2\" id=\"main-oeuvre-qté\" value=\"{{ ligne_mo and ligne_mo.quantite ? ligne_mo.quantite : '' }}\">
            <input type=\"text\" style=\"width:100px\" disabled class=\"form-control bg-grey me-2\" id=\"main-oeuvre-prix-ht\" value=\"{{ ligne_mo and ligne_mo.getPrixTotalHt ? ligne_mo.getPrixTotalHt : '' }}\">
            <input type=\"text\" style=\"width:80px\" disabled class=\"form-control bg-grey me-2\" id=\"main-oeuvre-tva\" value=\"{{ ligne_mo and ligne_mo.getTauxTva ? ligne_mo.getTauxTva.taux : '' }}\">
            <input type=\"text\" style=\"width:100px\" disabled class=\"form-control bg-grey\" id=\"main-oeuvre-prix-ttc\" value=\"{{ ligne_mo and ligne_mo.getPrixTotalTtc ? ligne_mo.getPrixTotalTtc : '' }}\">
        </div>

        <h3>Pièces</h3>
        <table class=\" table table-responsive table-bordered  table-sm table-inverse-color-datagrid mb-0\" style=\"width:786px;\">
            <thead>
            <tr>
                <th>Référence</th>
                <th>Désignation</th>
                <th>P.U. HT</th>
                <th>Qté</th>
                <th>Total HT</th>
                <th>Aff.</th>
                <th>TVA</th>
            </tr>
            </thead>
            <tbody id=\"devis-pieces-table\">
                {% if devis.getDevisLignes %}
                    {% for devisLigne in devis.getDevisLignes %}
                        <tr>
                            <td>{{ devisLigne.getProduit.getCode }}</td>
                            <td>{{ devisLigne.getProduit.getDesignation }}</td>
                            <td>{{ devisLigne.getProduit.getPuHt }}</td>
                            <td>{{ devisLigne.getProduit.getQuantite() }}</td>
                            <td>{{ devisLigne.getProduit.getPrixTotalHt() }}</td>
                            <td>{{ devisLigne.getProduit.getProduitFactureAffectation.getLibelleCourt }}</td>
                            <td>{{ devisLigne.getProduit.getTauxTva.getTaux }}</td>
                        </tr>
                    {% endfor %}
                {% endif %}
            <!-- Les lignes seront ajoutées dynamiquement -->
            </tbody>
        </table>
        <div class=\"d-flex\">
            <div class=\"d-flex flex-column mb-4\">
                <div style=\"height:100px; overflow-y: auto\">
                    <table class=\"table table-responsive table-bordered  table-sm table-inverse-color-datagrid mb-0\" id=\"tab-recap-taux\" style=\"width: 230px\" >
                        <thead  align=\"center\" style=\"vertical-align: middle!important;\"><th>Base HT</th><th>Taux</th><th>Montant</th></thead>
                        <tbody style=\"height: 75px;\">
                        <tr style=\"height: 75px\"><td colspan=\"3\" ></td></tr>
                        </tbody>
                    </table>
                </div>
                <div class=\"d-flex justify-content-end\">
                    <div style=\"width: 90px;margin-right: 2px;\" class=\"bg-grey-table  color-orange text-center\">Total</div>
                    <div style=\"width: 90px;text-align:right\" class=\"bg-grey-table color-orange pe-2\" id=\"total-recap-tab-tva\">0€</div>
                </div>
            </div>
        </div>
    </div>
</div>", "intervention/popup_devis.html.twig", "/builds/dev/refonte_sav/templates/intervention/popup_devis.html.twig");
    }
}
