<?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/bloc_intervention.html.twig */
class __TwigTemplate_df11894fcfca7a98b068d2cc04b7754a12d3ae28d39dbe87d0165369c0cf34b7 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/bloc_intervention.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/bloc_intervention.html.twig"));

        // line 2
        $context["is_readonly"] = ((array_key_exists("is_readonly", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 2, $this->source); })()), false)) : (false));
        // line 3
        yield "<div class=\"px-2 py-2 bg-white color-primary w-100 h-100 block-infos-container\">
    <div class=\"d-flex\">
        <div class=\"d-flex flex-column me-2\">
            <div class=\"d-flex justify-content-between ";
        // line 6
        if ( !(isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 6, $this->source); })())) {
            yield "mb-2";
        }
        yield "\">
                <div class=\"d-flex\" style=\"gap:8px;\">
                    ";
        // line 8
        if ( !(isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 8, $this->source); })())) {
            // line 9
            yield "                        ";
            // line 10
            yield "                        <div class=\"d-flex align-items-center\" style=\"margin-right: 33px;\">
                            <label class=\"me-2\">N°Intervention</label>
                            <a href=\"\" class=\"text-decoration-none fw-600\" target=\"_blank\" style=\"font-size: 15px;width:98px;\">
                                ";
            // line 13
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 13, $this->source); })()), "id", [], "any", false, false, false, 13), "html", null, true);
            yield "
                            </a>
                        </div>
                    ";
        }
        // line 17
        yield "                    <div class=\"d-flex align-items-center\">
                        <label class=\"me-2\">Date</label>
                        <input type=\"text\" disabled class=\"form-control ";
        // line 19
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 19, $this->source); })())) {
            yield "bg-grey";
        }
        yield "\" style=\"width:100px;\" value=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, 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.', 19, $this->source); })()), "planning", [], "any", false, false, false, 19), "date", [], "any", false, false, false, 19), "d/m/Y"), "html", null, true);
        yield "\">
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label class=\"me-2\">De</label>
                        <input type=\"";
        // line 23
        yield ((((0 === CoreExtension::compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 23, $this->source); })()), "technique")) || (isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 23, $this->source); })()))) ? ("text") : ("time"));
        yield "\" name=\"intervention_heure_debut\" ";
        yield ((((0 === CoreExtension::compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 23, $this->source); })()), "technique")) || (isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 23, $this->source); })()))) ? ("disabled") : (""));
        yield " style=\"width:50px;padding-left: 6px !important; padding-right: 6px !important;\" class=\"form-control ";
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 23, $this->source); })())) {
            yield "bg-grey";
        }
        yield "\" value=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, 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.', 23, $this->source); })()), "planning", [], "any", false, false, false, 23), "heureDebut", [], "any", false, false, false, 23), "H:i"), "html", null, true);
        yield "\" form=\"form_validation_intervention\">
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label class=\"me-2\">à</label>
                        <input type=\"";
        // line 27
        yield ((((0 === CoreExtension::compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 27, $this->source); })()), "technique")) || (isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 27, $this->source); })()))) ? ("text") : ("time"));
        yield "\" name=\"intervention_heure_fin\" ";
        yield ((((0 === CoreExtension::compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 27, $this->source); })()), "technique")) || (isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 27, $this->source); })()))) ? ("disabled") : (""));
        yield " style=\"width:50px;padding-left: 6px !important; padding-right: 6px !important;\" class=\"form-control ";
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 27, $this->source); })())) {
            yield "bg-grey";
        }
        yield "\" value=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, 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.', 27, $this->source); })()), "planning", [], "any", false, false, false, 27), "heureFin", [], "any", false, false, false, 27), "H:i"), "html", null, true);
        yield "\" form=\"form_validation_intervention\">
                    </div>
                    ";
        // line 29
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 29, $this->source); })())) {
            // line 30
            yield "                        ";
            // line 31
            yield "                        <div class=\"d-flex align-items-center\">
                            <label class=\"me-2\">Durée</label>
                            <input type=\"text\" disabled class=\"form-control bg-grey\" style=\"width:70px;\" value=\"";
            // line 33
            ((CoreExtension::getAttribute($this->env, $this->source, 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.', 33, $this->source); })()), "planning", [], "any", false, false, false, 33), "duree", [], "any", false, false, false, 33)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, 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.', 33, $this->source); })()), "planning", [], "any", false, false, false, 33), "duree", [], "any", false, false, false, 33) . " min"), "html", null, true)) : (yield ""));
            yield "\">
                        </div>
                    ";
        }
        // line 36
        yield "                </div>
                ";
        // line 37
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 37, $this->source); })())) {
            // line 38
            yield "                    <div class=\"d-flex align-items-center ms-auto\">
                        <label class=\"me-2\" style=\"width:39px;\">Agent</label>
                        <input type=\"text\" disabled class=\"form-control bg-grey\" style=\"width:224px;\" value=\"";
            // line 40
            ((CoreExtension::getAttribute($this->env, $this->source, 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.', 40, $this->source); })()), "planning", [], "any", false, false, false, 40), "utilisateurAgent", [], "any", false, false, false, 40)) ? (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, (isset($context["intervention"]) || array_key_exists("intervention", $context) ? $context["intervention"] : (function () { throw new RuntimeError('Variable "intervention" does not exist.', 40, $this->source); })()), "planning", [], "any", false, false, false, 40), "utilisateurAgent", [], "any", false, false, false, 40), "getCodeNom", [], "any", false, false, false, 40), "html", null, true)) : (yield ""));
            yield "\">
                    </div>
                ";
        }
        // line 43
        yield "            </div>
            <div class=\"titre-small\">Anomalies</div>
            <textarea disabled style=\"height:";
        // line 45
        if (((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 45, $this->source); })()) && (isset($context["is_pac"]) || array_key_exists("is_pac", $context) ? $context["is_pac"] : (function () { throw new RuntimeError('Variable "is_pac" does not exist.', 45, $this->source); })()))) {
            yield "137";
        } elseif ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 45, $this->source); })())) {
            yield "121";
        } else {
            yield "64";
        }
        yield "px;text-align: left; width:";
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 45, $this->source); })())) {
            yield "750";
        } else {
            yield "520";
        }
        yield "px;\" class=\"form-control\">";
        ((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.', 45, $this->source); })()), "interventionAnomalies", [], "any", false, false, false, 45)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(Twig\Extension\CoreExtension::map($this->env, 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.', 45, $this->source); })()), "interventionAnomalies", [], "any", false, false, false, 45), function ($__i__) use ($context, $macros) { $context["i"] = $__i__; return ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 45, $this->source); })()), "anomalie", [], "any", false, false, false, 45)) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 45, $this->source); })()), "anomalie", [], "any", false, false, false, 45), "libelle", [], "any", false, false, false, 45)) : (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 45, $this->source); })()), "anomalieOracle", [], "any", false, false, false, 45), "libelle", [], "any", false, false, false, 45))); }), "
"), "html", null, true)) : (yield ""));
        yield "</textarea>
            <div class=\"titre-small\">Observations</div>
            <textarea disabled class=\"form-control ";
        // line 47
        if (( !(isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 47, $this->source); })()) && 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.', 47, $this->source); })()), "observations", [], "any", false, false, false, 47))) {
            yield "bg-orange-input border-orange";
        }
        yield "\" style=\"height:";
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 47, $this->source); })())) {
            yield "128";
        } else {
            yield "84";
        }
        yield "px;text-align: left\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 47, $this->source); })()), "observations", [], "any", false, false, false, 47), "html", null, true);
        yield "</textarea>
            <div class=\"titre-small\">Commentaire client</div>
            <textarea disabled style=\"height:";
        // line 49
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 49, $this->source); })())) {
            yield "83";
        } else {
            yield "64";
        }
        yield "px;text-align: left\" class=\"form-control\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 49, $this->source); })()), "getCommentaireClient", [], "any", false, false, false, 49), "html", null, true);
        yield "</textarea>
            <div class=\"mt-2\" style=\"max-height: 112px; overflow: auto;border-bottom: 1px solid #ccc\">
                ";
        // line 51
        yield Twig\Extension\CoreExtension::include($this->env, $context, "intervention/_tableau_devis.html.twig");
        yield "
            </div>
        </div>
        <div class=\"d-flex flex-column flex-grow-1\">
            ";
        // line 55
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 55, $this->source); })())) {
            // line 56
            yield "                ";
            // line 57
            yield "                <div class=\"d-flex mb-2 justify-content-between\">
                    <div class=\"d-flex align-items-center\" style=\"margin-right: 10px;\">
                        <label  style=\"width:99px;line-height: normal\">Intervention</br>planifiée</label>
                        <input type=\"text\" style=\"width:150px\" disabled class=\"form-control ";
            // line 60
            yield ((((CoreExtension::getAttribute($this->env, $this->source, 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.', 60, $this->source); })()), "planning", [], "any", false, false, false, 60), "getTypePlanificationInit", [], "any", false, false, false, 60) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 60, $this->source); })()), "planning", [], "any", false, false, false, 60), "getTypePlanificationInit", [], "any", false, false, false, 60), "isSurValidation", [], "any", false, false, false, 60)) || (isset($context["binome_manquant_init"]) || array_key_exists("binome_manquant_init", $context) ? $context["binome_manquant_init"] : (function () { throw new RuntimeError('Variable "binome_manquant_init" does not exist.', 60, $this->source); })()))) ? ("bg-orange-input border-orange") : (""));
            yield "\" value=\"";
            ((CoreExtension::getAttribute($this->env, $this->source, 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.', 60, $this->source); })()), "planning", [], "any", false, false, false, 60), "getTypePlanificationInit", [], "any", false, false, false, 60)) ? (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, (isset($context["intervention"]) || array_key_exists("intervention", $context) ? $context["intervention"] : (function () { throw new RuntimeError('Variable "intervention" does not exist.', 60, $this->source); })()), "planning", [], "any", false, false, false, 60), "getTypePlanificationInit", [], "any", false, false, false, 60), "code", [], "any", false, false, false, 60), "html", null, true)) : (yield ""));
            yield "\">
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label  style=\"width:99px;line-height: normal\">Intervention</br>réalisée</label>
                        <select name=\"intervention_type_planification\" ";
            // line 64
            yield (((0 === CoreExtension::compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 64, $this->source); })()), "technique"))) ? ("disabled") : (""));
            yield " style=\"width:150px\" class=\"form-control\">
                            ";
            // line 65
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable((isset($context["typesPlanification"]) || array_key_exists("typesPlanification", $context) ? $context["typesPlanification"] : (function () { throw new RuntimeError('Variable "typesPlanification" does not exist.', 65, $this->source); })()));
            foreach ($context['_seq'] as $context["_key"] => $context["type"]) {
                // line 66
                yield "                                <option value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["type"], "id", [], "any", false, false, false, 66), "html", null, true);
                yield "\" ";
                yield (((0 === CoreExtension::compare(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.', 66, $this->source); })()), "getTypePlanification", [], "any", false, false, false, 66), $context["type"]))) ? ("selected") : (""));
                yield ">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["type"], "code", [], "any", false, false, false, 66), "html", null, true);
                yield "</option>
                            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['type'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 68
            yield "                        </select>
                    </div>
                </div>
            ";
        } else {
            // line 72
            yield "                ";
            // line 73
            yield "                <div class=\"d-flex mb-2\">
                    <div class=\"d-flex align-items-center\" style=\"margin-right: 10px;\">
                        <label style=\"width:99px;line-height: normal\">Intervention</br>planifiée</label>
                        <input type=\"text\" style=\"width:150px\" disabled class=\"form-control ";
            // line 76
            yield ((((CoreExtension::getAttribute($this->env, $this->source, 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.', 76, $this->source); })()), "planning", [], "any", false, false, false, 76), "getTypePlanificationInit", [], "any", false, false, false, 76) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 76, $this->source); })()), "planning", [], "any", false, false, false, 76), "getTypePlanificationInit", [], "any", false, false, false, 76), "isSurValidation", [], "any", false, false, false, 76)) || (isset($context["binome_manquant_init"]) || array_key_exists("binome_manquant_init", $context) ? $context["binome_manquant_init"] : (function () { throw new RuntimeError('Variable "binome_manquant_init" does not exist.', 76, $this->source); })()))) ? ("bg-orange-input border-orange") : (""));
            yield "\" value=\"";
            ((CoreExtension::getAttribute($this->env, $this->source, 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.', 76, $this->source); })()), "planning", [], "any", false, false, false, 76), "getTypePlanificationInit", [], "any", false, false, false, 76)) ? (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, (isset($context["intervention"]) || array_key_exists("intervention", $context) ? $context["intervention"] : (function () { throw new RuntimeError('Variable "intervention" does not exist.', 76, $this->source); })()), "planning", [], "any", false, false, false, 76), "getTypePlanificationInit", [], "any", false, false, false, 76), "code", [], "any", false, false, false, 76), "html", null, true)) : (yield ""));
            yield "\">
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label class=\"me-2\">le</label>
                        <input type=\"text\" class=\"form-control\" ";
            // line 80
            yield (((0 === CoreExtension::compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 80, $this->source); })()), "technique"))) ? ("disabled") : (""));
            yield " style=\"width:100px\" value=\"";
            ((CoreExtension::getAttribute($this->env, $this->source, 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.', 80, $this->source); })()), "planning", [], "any", false, false, false, 80), "getDateCreation", [], "any", false, false, false, 80)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, 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.', 80, $this->source); })()), "planning", [], "any", false, false, false, 80), "getDateCreation", [], "any", false, false, false, 80), "d/m/Y"), "html", null, true)) : (yield ""));
            yield "\" form=\"form_validation_intervention\">
                    </div>
                </div>
                <div class=\"d-flex align-items-center mb-2\">
                    <label style=\"width:99px;line-height: normal\">Intervention</br>réalisée</label>
                    <select name=\"intervention_type_planification\" ";
            // line 85
            yield (((0 === CoreExtension::compare((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 85, $this->source); })()), "technique"))) ? ("disabled") : (""));
            yield " style=\"width:150px\" class=\"form-control ";
            if ((((0 !== CoreExtension::compare(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.', 85, $this->source); })()), "getTypePlanification", [], "any", false, false, false, 85), CoreExtension::getAttribute($this->env, $this->source, 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.', 85, $this->source); })()), "planning", [], "any", false, false, false, 85), "getTypePlanificationInit", [], "any", false, false, false, 85))) || CoreExtension::getAttribute($this->env, $this->source, 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.', 85, $this->source); })()), "getTypePlanification", [], "any", false, false, false, 85), "isSurValidation", [], "any", false, false, false, 85)) || (isset($context["binome_manquant_int"]) || array_key_exists("binome_manquant_int", $context) ? $context["binome_manquant_int"] : (function () { throw new RuntimeError('Variable "binome_manquant_int" does not exist.', 85, $this->source); })()))) {
                yield "bg-orange-input border-orange";
            }
            yield "\">
                        ";
            // line 86
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable((isset($context["typesPlanification"]) || array_key_exists("typesPlanification", $context) ? $context["typesPlanification"] : (function () { throw new RuntimeError('Variable "typesPlanification" does not exist.', 86, $this->source); })()));
            foreach ($context['_seq'] as $context["_key"] => $context["typePlanif"]) {
                // line 87
                yield "                            <option value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["typePlanif"], "id", [], "any", false, false, false, 87), "html", null, true);
                yield "\" ";
                yield (((0 === CoreExtension::compare(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.', 87, $this->source); })()), "getTypePlanification", [], "any", false, false, false, 87), $context["typePlanif"]))) ? ("selected") : (""));
                yield ">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["typePlanif"], "code", [], "any", false, false, false, 87), "html", null, true);
                yield "</option>
                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['typePlanif'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 89
            yield "                    </select>
                </div>
            ";
        }
        // line 92
        yield "            <div class=\"titre-small\" style=\"line-height: 1\">Motif modification code intervention</div>
            <textarea disabled style=\"height:56px;text-align: left\" class=\"form-control ";
        // line 93
        yield ((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.', 93, $this->source); })()), "getMotifModifCodeInt", [], "any", false, false, false, 93)) ? ("bg-orange-input border-orange") : (""));
        yield "\">";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 93, $this->source); })()), "getMotifModifCodeInt", [], "any", false, false, false, 93), "html", null, true);
        yield "</textarea>
            <div class=\"titre-small mt-1\" style=\"line-height: 1\">Cause du retour</div>
            <textarea disabled style=\"height:";
        // line 95
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 95, $this->source); })())) {
            yield "40";
        } else {
            yield "56";
        }
        yield "px;text-align: left\" class=\"form-control\"></textarea>

            ";
        // line 97
        if ((isset($context["is_pac"]) || array_key_exists("is_pac", $context) ? $context["is_pac"] : (function () { throw new RuntimeError('Variable "is_pac" does not exist.', 97, $this->source); })())) {
            // line 98
            yield "                ";
            if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 98, $this->source); })())) {
                // line 99
                yield "                    ";
                // line 100
                yield "                    <div class=\"d-flex mt-1\">
                        <div class=\"align-self-end\" style=\"width:235px;\"><label style=\"line-height: normal;\">Hauteur<br>sol - haut d'équipement</label></div>
                        <div class=\"d-flex\" style=\"gap: 1rem;\">
                            <div class=\"d-flex flex-column\" style=\"width:140px;\">
                                <label class=\"titre-small color-orange\" style=\"width:140px; border-bottom: 1px solid #f05b41; margin-bottom: 0.3rem; padding-bottom: 0.2rem;line-height: 8px;\">Module intérieur</label>
                                <input disabled style=\"width:100px\" class=\"form-control bg-grey\" value=\"";
                // line 105
                ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 105, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 105, $this->source); })()), "hauteur", [], "any", false, false, false, 105))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 105, $this->source); })()), "hauteur", [], "any", false, false, false, 105), 2, ",", " "), "html", null, true)) : (yield ""));
                yield "\">
                            </div>
                            <div class=\"d-flex flex-column\" style=\"width:140px;\">
                                <label class=\"titre-small color-orange\" style=\"width:140px; border-bottom: 1px solid #f05b41; margin-bottom: 0.3rem; padding-bottom: 0.2rem;line-height: 8px;\">Module extérieur</label>
                                <input disabled style=\"width:100px\" class=\"form-control bg-grey\" value=\"";
                // line 109
                ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 109, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 109, $this->source); })()), "hauteurModuleExt", [], "any", false, false, false, 109))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 109, $this->source); })()), "hauteurModuleExt", [], "any", false, false, false, 109), 2, ",", " "), "html", null, true)) : (yield ""));
                yield "\">
                            </div>
                        </div>
                    </div>
                    ";
                // line 114
                yield "                    <div class=\"d-flex align-items-center mt-1\">
                        <label style=\"width:235px;\">Est-ce que la mesure est possible ?</label>
                        <div class=\"d-flex\" style=\"gap: 1rem;\">
                            <div class=\"d-flex\" style=\"width:140px; gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible_int\" value=\"non\" disabled ";
                // line 119
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 119, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 119, $this->source); })()), "mesurePossible", [], "any", false, false, false, 119))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible_int\" value=\"oui\" disabled ";
                // line 123
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 123, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 123, $this->source); })()), "mesurePossible", [], "any", false, false, false, 123))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                            <div class=\"d-flex\" style=\"width:140px; gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible_ext\" value=\"non\" disabled ";
                // line 129
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 129, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 129, $this->source); })()), "mesurePossibleModuleExt", [], "any", false, false, false, 129))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible_ext\" value=\"oui\" disabled ";
                // line 133
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 133, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 133, $this->source); })()), "mesurePossibleModuleExt", [], "any", false, false, false, 133))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:235px;\">Est-ce que la pose de l'escabeau est possible ?</label>
                        <div class=\"d-flex\" style=\"gap: 1rem;\">
                            <div class=\"d-flex\" style=\"width:140px;gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible_int\" value=\"non\" disabled ";
                // line 144
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 144, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 144, $this->source); })()), "escabeauOk", [], "any", false, false, false, 144))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible_int\" value=\"oui\" disabled ";
                // line 148
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 148, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 148, $this->source); })()), "escabeauOk", [], "any", false, false, false, 148))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                            <div class=\"d-flex\" style=\"width:140px;gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible_ext\" value=\"non\" disabled ";
                // line 154
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 154, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 154, $this->source); })()), "escabeauOkModuleExt", [], "any", false, false, false, 154))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible_ext\" value=\"oui\" disabled ";
                // line 158
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 158, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 158, $this->source); })()), "escabeauOkModuleExt", [], "any", false, false, false, 158))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:235px;\">Est-ce que l'entretien est réalisable ?</label>
                        <div class=\"d-flex\" style=\"gap: 1rem;\">
                            <div class=\"d-flex\" style=\"width:140px; gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable_int\" value=\"non\" disabled ";
                // line 169
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 169, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 169, $this->source); })()), "entretienOk", [], "any", false, false, false, 169))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable_int\" value=\"oui\" disabled ";
                // line 173
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 173, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 173, $this->source); })()), "entretienOk", [], "any", false, false, false, 173))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                            <div class=\"d-flex\" style=\"width:140px; gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable_ext\" value=\"non\" disabled ";
                // line 179
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 179, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 179, $this->source); })()), "entretienOkModuleExt", [], "any", false, false, false, 179))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable_ext\" value=\"oui\" disabled ";
                // line 183
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 183, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 183, $this->source); })()), "entretienOkModuleExt", [], "any", false, false, false, 183))) ? ("checked") : (""));
                yield ">
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                        </div>
                    </div>
                ";
            } else {
                // line 190
                yield "                    ";
                // line 191
                yield "                    <div class=\"d-flex align-items-center mt-1\">
                        <div class=\"d-flex align-items-center\">
                            <label style=\"width:103px;line-height: normal\">Hauteur<br>module intérieur</label>
                            <input disabled style=\"width:100px\" class=\"form-control\" value=\"";
                // line 194
                (((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 194, $this->source); })())) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 194, $this->source); })()), "hauteur", [], "any", false, false, false, 194), "html", null, true)) : (yield ""));
                yield "\">
                        </div>
                        <div class=\"d-flex align-items-center ms-auto\">
                            <label style=\"width:103px;line-height: normal\">Hauteur<br>module extérieur</label>
                            <input disabled style=\"width:100px\" class=\"form-control\" value=\"";
                // line 198
                (((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 198, $this->source); })())) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 198, $this->source); })()), "hauteurModuleExt", [], "any", false, false, false, 198), "html", null, true)) : (yield ""));
                yield "\">
                        </div>
                    </div>
                    ";
                // line 202
                yield "                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:285px;\">Est-ce que la mesure est possible ?</label>
                        <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible\" value=\"non\" disabled ";
                // line 205
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 205, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 205, $this->source); })()), "mesurePossible", [], "any", false, false, false, 205))) ? ("checked") : (""));
                yield ">
                            <label class=\"form-check-label\">Non</label>
                        </div>
                        <div class=\"form-check form-check-inline me-0\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible\" value=\"oui\" disabled ";
                // line 209
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 209, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 209, $this->source); })()), "mesurePossible", [], "any", false, false, false, 209))) ? ("checked") : (""));
                yield ">
                            <label class=\"form-check-label\">Oui</label>
                        </div>
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:285px;\">Est-ce que la pose de l'escabeau est possible ?</label>
                        <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible\" value=\"non\" disabled ";
                // line 216
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 216, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 216, $this->source); })()), "escabeauOk", [], "any", false, false, false, 216))) ? ("checked") : (""));
                yield ">
                            <label class=\"form-check-label\">Non</label>
                        </div>
                        <div class=\"form-check form-check-inline me-0\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible\" value=\"oui\" disabled ";
                // line 220
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 220, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 220, $this->source); })()), "escabeauOk", [], "any", false, false, false, 220))) ? ("checked") : (""));
                yield ">
                            <label class=\"form-check-label\">Oui</label>
                        </div>
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:285px;\">Est-ce que l'entretien est réalisable ?</label>
                        <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable\" value=\"non\" disabled ";
                // line 227
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 227, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 227, $this->source); })()), "entretienOk", [], "any", false, false, false, 227))) ? ("checked") : (""));
                yield ">
                            <label class=\"form-check-label\">Non</label>
                        </div>
                        <div class=\"form-check form-check-inline me-0\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable\" value=\"oui\" disabled ";
                // line 231
                yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 231, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 231, $this->source); })()), "entretienOk", [], "any", false, false, false, 231))) ? ("checked") : (""));
                yield ">
                            <label class=\"form-check-label\">Oui</label>
                        </div>
                    </div>
                ";
            }
            // line 236
            yield "            ";
        } else {
            // line 237
            yield "                ";
            // line 238
            yield "                <div class=\"d-flex align-items-center mt-1\">
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:135px;\">Hauteur équipement</label>
                        <input disabled style=\"width:100px\" class=\"form-control ";
            // line 241
            if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 241, $this->source); })())) {
                yield "bg-grey";
            }
            yield "\" value=\"";
            (((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 241, $this->source); })())) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 241, $this->source); })()), "hauteur", [], "any", false, false, false, 241), "html", null, true)) : (yield ""));
            yield "\">
                    </div>
                    <div class=\"d-flex align-items-center ms-auto\">
                        <label style=\"width:76px;line-height: normal\">Mesure CO</label>
                        <input disabled style=\"width:100px\" class=\"form-control ";
            // line 245
            if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 245, $this->source); })())) {
                yield "bg-grey";
            }
            yield "\" value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 245, $this->source); })()), "mesureCO", [], "any", false, false, false, 245), "html", null, true);
            yield "\">
                    </div>
                </div>
                ";
            // line 249
            yield "                <div class=\"d-flex align-items-center mt-1\">
                    <label style=\"width:285px;\">Est-ce que la mesure est possible ?</label>
                    <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible\" value=\"non\" disabled ";
            // line 252
            yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 252, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 252, $this->source); })()), "mesurePossible", [], "any", false, false, false, 252))) ? ("checked") : (""));
            yield ">
                        <label class=\"form-check-label\">Non</label>
                    </div>
                    <div class=\"form-check form-check-inline me-0\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible\" value=\"oui\" disabled ";
            // line 256
            yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 256, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 256, $this->source); })()), "mesurePossible", [], "any", false, false, false, 256))) ? ("checked") : (""));
            yield ">
                        <label class=\"form-check-label\">Oui</label>
                    </div>
                </div>
                <div class=\"d-flex align-items-center\">
                    <label style=\"width:285px;\">Est-ce que la pose de l'escabeau est possible ?</label>
                    <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible\" value=\"non\" disabled ";
            // line 263
            yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 263, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 263, $this->source); })()), "escabeauOk", [], "any", false, false, false, 263))) ? ("checked") : (""));
            yield ">
                        <label class=\"form-check-label\">Non</label>
                    </div>
                    <div class=\"form-check form-check-inline me-0\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible\" value=\"oui\" disabled ";
            // line 267
            yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 267, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 267, $this->source); })()), "escabeauOk", [], "any", false, false, false, 267))) ? ("checked") : (""));
            yield ">
                        <label class=\"form-check-label\">Oui</label>
                    </div>
                </div>
                <div class=\"d-flex align-items-center\">
                    <label style=\"width:285px;\">Est-ce que l'entretien est réalisable ?</label>
                    <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable\" value=\"non\" disabled ";
            // line 274
            yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 274, $this->source); })()) &&  !CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 274, $this->source); })()), "entretienOk", [], "any", false, false, false, 274))) ? ("checked") : (""));
            yield ">
                        <label class=\"form-check-label\">Non</label>
                    </div>
                    <div class=\"form-check form-check-inline me-0\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable\" value=\"oui\" disabled ";
            // line 278
            yield ((((isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 278, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipementHauteur"]) || array_key_exists("equipementHauteur", $context) ? $context["equipementHauteur"] : (function () { throw new RuntimeError('Variable "equipementHauteur" does not exist.', 278, $this->source); })()), "entretienOk", [], "any", false, false, false, 278))) ? ("checked") : (""));
            yield ">
                        <label class=\"form-check-label\">Oui</label>
                    </div>
                </div>
            ";
        }
        // line 283
        yield "            <div class=\"titre-small\" style=\"line-height: 1\">Commentaire intervention</div>
            <textarea disabled style=\"height:";
        // line 284
        if (((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 284, $this->source); })()) && (isset($context["is_pac"]) || array_key_exists("is_pac", $context) ? $context["is_pac"] : (function () { throw new RuntimeError('Variable "is_pac" does not exist.', 284, $this->source); })()))) {
            yield "88";
        } elseif ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 284, $this->source); })())) {
            yield "101";
        } else {
            yield "56";
        }
        yield "px;text-align: left\" class=\"form-control\"></textarea>
            ";
        // line 285
        if ((isset($context["is_readonly"]) || array_key_exists("is_readonly", $context) ? $context["is_readonly"] : (function () { throw new RuntimeError('Variable "is_readonly" does not exist.', 285, $this->source); })())) {
            // line 286
            yield "                ";
            // line 287
            yield "                <div class=\"form-check align-items-center mt-1\">
                    <input type=\"checkbox\" disabled class=\"form-check-input\" ";
            // line 288
            yield ((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.', 288, $this->source); })()), "getCliRefusSignature", [], "any", false, false, false, 288)) ? ("checked") : (""));
            yield ">
                    <label class=\"ms-2\">Refus de signature</label>
                </div>
                <div class=\"titre-small\" style=\"line-height: 1\">Commentaire refus de signature</div>
                <textarea disabled style=\"height:64px;text-align: left\" class=\"form-control bg-grey\">";
            // line 292
            ((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.', 292, $this->source); })()), "getCommentaireRefusSignature", [], "any", false, false, false, 292)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 292, $this->source); })()), "getCommentaireRefusSignature", [], "any", false, false, false, 292), "html", null, true)) : (yield ""));
            yield "</textarea>
            ";
        }
        // line 294
        yield "        </div>
    </div>
</div>
";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  656 => 294,  651 => 292,  644 => 288,  641 => 287,  639 => 286,  637 => 285,  627 => 284,  624 => 283,  616 => 278,  609 => 274,  599 => 267,  592 => 263,  582 => 256,  575 => 252,  570 => 249,  560 => 245,  549 => 241,  544 => 238,  542 => 237,  539 => 236,  531 => 231,  524 => 227,  514 => 220,  507 => 216,  497 => 209,  490 => 205,  485 => 202,  479 => 198,  472 => 194,  467 => 191,  465 => 190,  455 => 183,  448 => 179,  439 => 173,  432 => 169,  418 => 158,  411 => 154,  402 => 148,  395 => 144,  381 => 133,  374 => 129,  365 => 123,  358 => 119,  351 => 114,  344 => 109,  337 => 105,  330 => 100,  328 => 99,  325 => 98,  323 => 97,  314 => 95,  307 => 93,  304 => 92,  299 => 89,  286 => 87,  282 => 86,  274 => 85,  264 => 80,  255 => 76,  250 => 73,  248 => 72,  242 => 68,  229 => 66,  225 => 65,  221 => 64,  212 => 60,  207 => 57,  205 => 56,  203 => 55,  196 => 51,  185 => 49,  170 => 47,  150 => 45,  146 => 43,  140 => 40,  136 => 38,  134 => 37,  131 => 36,  125 => 33,  121 => 31,  119 => 30,  117 => 29,  104 => 27,  89 => 23,  78 => 19,  74 => 17,  67 => 13,  62 => 10,  60 => 9,  58 => 8,  51 => 6,  46 => 3,  44 => 2,);
    }

    public function getSourceContext()
    {
        return new Source("{# Détection du contexte : readonly ou validation #}
{% set is_readonly = is_readonly|default(false) %}
<div class=\"px-2 py-2 bg-white color-primary w-100 h-100 block-infos-container\">
    <div class=\"d-flex\">
        <div class=\"d-flex flex-column me-2\">
            <div class=\"d-flex justify-content-between {% if not is_readonly %}mb-2{% endif %}\">
                <div class=\"d-flex\" style=\"gap:8px;\">
                    {% if not is_readonly %}
                        {# Mode validation : N°Intervention, Date, De, à #}
                        <div class=\"d-flex align-items-center\" style=\"margin-right: 33px;\">
                            <label class=\"me-2\">N°Intervention</label>
                            <a href=\"\" class=\"text-decoration-none fw-600\" target=\"_blank\" style=\"font-size: 15px;width:98px;\">
                                {{ intervention.id }}
                            </a>
                        </div>
                    {% endif %}
                    <div class=\"d-flex align-items-center\">
                        <label class=\"me-2\">Date</label>
                        <input type=\"text\" disabled class=\"form-control {% if is_readonly %}bg-grey{% endif %}\" style=\"width:100px;\" value=\"{{ intervention.planning.date|date('d/m/Y') }}\">
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label class=\"me-2\">De</label>
                        <input type=\"{{ type == 'technique' or is_readonly ? 'text' : 'time'}}\" name=\"intervention_heure_debut\" {{ type == 'technique' or is_readonly ? 'disabled'}} style=\"width:50px;padding-left: 6px !important; padding-right: 6px !important;\" class=\"form-control {% if is_readonly %}bg-grey{% endif %}\" value=\"{{ intervention.planning.heureDebut|date('H:i') }}\" form=\"form_validation_intervention\">
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label class=\"me-2\">à</label>
                        <input type=\"{{ type == 'technique' or is_readonly ? 'text' : 'time'}}\" name=\"intervention_heure_fin\" {{ type == 'technique' or is_readonly ? 'disabled'}} style=\"width:50px;padding-left: 6px !important; padding-right: 6px !important;\" class=\"form-control {% if is_readonly %}bg-grey{% endif %}\" value=\"{{ intervention.planning.heureFin|date('H:i') }}\" form=\"form_validation_intervention\">
                    </div>
                    {% if is_readonly %}
                        {# Mode readonly : Durée et Agent #}
                        <div class=\"d-flex align-items-center\">
                            <label class=\"me-2\">Durée</label>
                            <input type=\"text\" disabled class=\"form-control bg-grey\" style=\"width:70px;\" value=\"{{ intervention.planning.duree ? intervention.planning.duree ~ ' min' : '' }}\">
                        </div>
                    {% endif %}
                </div>
                {% if is_readonly %}
                    <div class=\"d-flex align-items-center ms-auto\">
                        <label class=\"me-2\" style=\"width:39px;\">Agent</label>
                        <input type=\"text\" disabled class=\"form-control bg-grey\" style=\"width:224px;\" value=\"{{ intervention.planning.utilisateurAgent ? intervention.planning.utilisateurAgent.getCodeNom : '' }}\">
                    </div>
                {% endif %}
            </div>
            <div class=\"titre-small\">Anomalies</div>
            <textarea disabled style=\"height:{% if is_readonly and is_pac %}137{% elseif is_readonly %}121{% else %}64{% endif %}px;text-align: left; width:{% if is_readonly %}750{% else %}520{% endif %}px;\" class=\"form-control\">{{ intervention.interventionAnomalies ? intervention.interventionAnomalies|map(i => i.anomalie ? i.anomalie.libelle : i.anomalieOracle.libelle)|join(\"\\n\") : '' }}</textarea>
            <div class=\"titre-small\">Observations</div>
            <textarea disabled class=\"form-control {% if not is_readonly and intervention.observations %}bg-orange-input border-orange{% endif %}\" style=\"height:{% if is_readonly %}128{% else %}84{% endif %}px;text-align: left\">{{ intervention.observations }}</textarea>
            <div class=\"titre-small\">Commentaire client</div>
            <textarea disabled style=\"height:{% if is_readonly %}83{% else %}64{% endif %}px;text-align: left\" class=\"form-control\">{{ intervention.getCommentaireClient }}</textarea>
            <div class=\"mt-2\" style=\"max-height: 112px; overflow: auto;border-bottom: 1px solid #ccc\">
                {{ include('intervention/_tableau_devis.html.twig') }}
            </div>
        </div>
        <div class=\"d-flex flex-column flex-grow-1\">
            {% if is_readonly %}
                {# Mode readonly : Intervention planifiée et réalisée côte à côte #}
                <div class=\"d-flex mb-2 justify-content-between\">
                    <div class=\"d-flex align-items-center\" style=\"margin-right: 10px;\">
                        <label  style=\"width:99px;line-height: normal\">Intervention</br>planifiée</label>
                        <input type=\"text\" style=\"width:150px\" disabled class=\"form-control {{ intervention.planning.getTypePlanificationInit and intervention.planning.getTypePlanificationInit.isSurValidation or binome_manquant_init ? 'bg-orange-input border-orange' }}\" value=\"{{ intervention.planning.getTypePlanificationInit ? intervention.planning.getTypePlanificationInit.code }}\">
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label  style=\"width:99px;line-height: normal\">Intervention</br>réalisée</label>
                        <select name=\"intervention_type_planification\" {{ type == 'technique' ? 'disabled'}} style=\"width:150px\" class=\"form-control\">
                            {% for type in typesPlanification %}
                                <option value=\"{{ type.id }}\" {{ intervention.getTypePlanification == type ? 'selected' : '' }}>{{ type.code }}</option>
                            {% endfor %}
                        </select>
                    </div>
                </div>
            {% else %}
                {# Mode validation : Intervention planifiée avec champ \"le\" #}
                <div class=\"d-flex mb-2\">
                    <div class=\"d-flex align-items-center\" style=\"margin-right: 10px;\">
                        <label style=\"width:99px;line-height: normal\">Intervention</br>planifiée</label>
                        <input type=\"text\" style=\"width:150px\" disabled class=\"form-control {{ intervention.planning.getTypePlanificationInit and intervention.planning.getTypePlanificationInit.isSurValidation or binome_manquant_init ? 'bg-orange-input border-orange' }}\" value=\"{{ intervention.planning.getTypePlanificationInit ? intervention.planning.getTypePlanificationInit.code }}\">
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label class=\"me-2\">le</label>
                        <input type=\"text\" class=\"form-control\" {{ type == 'technique' ? 'disabled'}} style=\"width:100px\" value=\"{{ intervention.planning.getDateCreation ? intervention.planning.getDateCreation|date('d/m/Y') }}\" form=\"form_validation_intervention\">
                    </div>
                </div>
                <div class=\"d-flex align-items-center mb-2\">
                    <label style=\"width:99px;line-height: normal\">Intervention</br>réalisée</label>
                    <select name=\"intervention_type_planification\" {{ type == 'technique' ? 'disabled'}} style=\"width:150px\" class=\"form-control {% if (intervention.getTypePlanification != intervention.planning.getTypePlanificationInit or intervention.getTypePlanification.isSurValidation or binome_manquant_int) %}bg-orange-input border-orange{% endif %}\">
                        {% for typePlanif in typesPlanification %}
                            <option value=\"{{ typePlanif.id }}\" {{ intervention.getTypePlanification == typePlanif ? 'selected' : '' }}>{{ typePlanif.code }}</option>
                        {% endfor %}
                    </select>
                </div>
            {% endif %}
            <div class=\"titre-small\" style=\"line-height: 1\">Motif modification code intervention</div>
            <textarea disabled style=\"height:56px;text-align: left\" class=\"form-control {{ intervention.getMotifModifCodeInt ? 'bg-orange-input border-orange' : '' }}\">{{ intervention.getMotifModifCodeInt }}</textarea>
            <div class=\"titre-small mt-1\" style=\"line-height: 1\">Cause du retour</div>
            <textarea disabled style=\"height:{% if is_readonly %}40{% else %}56{% endif %}px;text-align: left\" class=\"form-control\"></textarea>

            {% if is_pac %}
                {% if is_readonly %}
                    {# Mode readonly PAC : Affichage avec colonnes pour modules intérieur/extérieur #}
                    <div class=\"d-flex mt-1\">
                        <div class=\"align-self-end\" style=\"width:235px;\"><label style=\"line-height: normal;\">Hauteur<br>sol - haut d'équipement</label></div>
                        <div class=\"d-flex\" style=\"gap: 1rem;\">
                            <div class=\"d-flex flex-column\" style=\"width:140px;\">
                                <label class=\"titre-small color-orange\" style=\"width:140px; border-bottom: 1px solid #f05b41; margin-bottom: 0.3rem; padding-bottom: 0.2rem;line-height: 8px;\">Module intérieur</label>
                                <input disabled style=\"width:100px\" class=\"form-control bg-grey\" value=\"{{ equipementHauteur and equipementHauteur.hauteur ? equipementHauteur.hauteur|number_format(2, ',', ' ') : '' }}\">
                            </div>
                            <div class=\"d-flex flex-column\" style=\"width:140px;\">
                                <label class=\"titre-small color-orange\" style=\"width:140px; border-bottom: 1px solid #f05b41; margin-bottom: 0.3rem; padding-bottom: 0.2rem;line-height: 8px;\">Module extérieur</label>
                                <input disabled style=\"width:100px\" class=\"form-control bg-grey\" value=\"{{ equipementHauteur and equipementHauteur.hauteurModuleExt ? equipementHauteur.hauteurModuleExt|number_format(2, ',', ' ') : '' }}\">
                            </div>
                        </div>
                    </div>
                    {# Questions avec radio buttons alignés sous les modules #}
                    <div class=\"d-flex align-items-center mt-1\">
                        <label style=\"width:235px;\">Est-ce que la mesure est possible ?</label>
                        <div class=\"d-flex\" style=\"gap: 1rem;\">
                            <div class=\"d-flex\" style=\"width:140px; gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible_int\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.mesurePossible ? 'checked' }}>
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible_int\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.mesurePossible ? 'checked' }}>
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                            <div class=\"d-flex\" style=\"width:140px; gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible_ext\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.mesurePossibleModuleExt ? 'checked' }}>
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible_ext\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.mesurePossibleModuleExt ? 'checked' }}>
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:235px;\">Est-ce que la pose de l'escabeau est possible ?</label>
                        <div class=\"d-flex\" style=\"gap: 1rem;\">
                            <div class=\"d-flex\" style=\"width:140px;gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible_int\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.escabeauOk ? 'checked' }}>
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible_int\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.escabeauOk ? 'checked' }}>
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                            <div class=\"d-flex\" style=\"width:140px;gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible_ext\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.escabeauOkModuleExt ? 'checked' }}>
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible_ext\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.escabeauOkModuleExt ? 'checked' }}>
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:235px;\">Est-ce que l'entretien est réalisable ?</label>
                        <div class=\"d-flex\" style=\"gap: 1rem;\">
                            <div class=\"d-flex\" style=\"width:140px; gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable_int\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.entretienOk ? 'checked' }}>
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable_int\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.entretienOk ? 'checked' }}>
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                            <div class=\"d-flex\" style=\"width:140px; gap: 0.4rem;\">
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable_ext\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.entretienOkModuleExt ? 'checked' }}>
                                    <label class=\"form-check-label\">Non</label>
                                </div>
                                <div class=\"form-check form-check-inline\">
                                    <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable_ext\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.entretienOkModuleExt ? 'checked' }}>
                                    <label class=\"form-check-label\">Oui</label>
                                </div>
                            </div>
                        </div>
                    </div>
                {% else %}
                    {# Mode validation PAC : Affichage simple côte à côte #}
                    <div class=\"d-flex align-items-center mt-1\">
                        <div class=\"d-flex align-items-center\">
                            <label style=\"width:103px;line-height: normal\">Hauteur<br>module intérieur</label>
                            <input disabled style=\"width:100px\" class=\"form-control\" value=\"{{ equipementHauteur ? equipementHauteur.hauteur }}\">
                        </div>
                        <div class=\"d-flex align-items-center ms-auto\">
                            <label style=\"width:103px;line-height: normal\">Hauteur<br>module extérieur</label>
                            <input disabled style=\"width:100px\" class=\"form-control\" value=\"{{ equipementHauteur ? equipementHauteur.hauteurModuleExt }}\">
                        </div>
                    </div>
                    {# Questions simples pour validation #}
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:285px;\">Est-ce que la mesure est possible ?</label>
                        <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.mesurePossible ? 'checked' }}>
                            <label class=\"form-check-label\">Non</label>
                        </div>
                        <div class=\"form-check form-check-inline me-0\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.mesurePossible ? 'checked' }}>
                            <label class=\"form-check-label\">Oui</label>
                        </div>
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:285px;\">Est-ce que la pose de l'escabeau est possible ?</label>
                        <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.escabeauOk ? 'checked' }}>
                            <label class=\"form-check-label\">Non</label>
                        </div>
                        <div class=\"form-check form-check-inline me-0\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.escabeauOk ? 'checked' }}>
                            <label class=\"form-check-label\">Oui</label>
                        </div>
                    </div>
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:285px;\">Est-ce que l'entretien est réalisable ?</label>
                        <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.entretienOk ? 'checked' }}>
                            <label class=\"form-check-label\">Non</label>
                        </div>
                        <div class=\"form-check form-check-inline me-0\">
                            <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.entretienOk ? 'checked' }}>
                            <label class=\"form-check-label\">Oui</label>
                        </div>
                    </div>
                {% endif %}
            {% else %}
                {# Affichage pour chaudière : Hauteur équipement et Mesure CO #}
                <div class=\"d-flex align-items-center mt-1\">
                    <div class=\"d-flex align-items-center\">
                        <label style=\"width:135px;\">Hauteur équipement</label>
                        <input disabled style=\"width:100px\" class=\"form-control {% if is_readonly %}bg-grey{% endif %}\" value=\"{{ equipementHauteur ? equipementHauteur.hauteur }}\">
                    </div>
                    <div class=\"d-flex align-items-center ms-auto\">
                        <label style=\"width:76px;line-height: normal\">Mesure CO</label>
                        <input disabled style=\"width:100px\" class=\"form-control {% if is_readonly %}bg-grey{% endif %}\" value=\"{{ intervention.mesureCO }}\">
                    </div>
                </div>
                {# Affichage pour chaudière : questions uniques #}
                <div class=\"d-flex align-items-center mt-1\">
                    <label style=\"width:285px;\">Est-ce que la mesure est possible ?</label>
                    <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.mesurePossible ? 'checked' }}>
                        <label class=\"form-check-label\">Non</label>
                    </div>
                    <div class=\"form-check form-check-inline me-0\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"mesure_possible\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.mesurePossible ? 'checked' }}>
                        <label class=\"form-check-label\">Oui</label>
                    </div>
                </div>
                <div class=\"d-flex align-items-center\">
                    <label style=\"width:285px;\">Est-ce que la pose de l'escabeau est possible ?</label>
                    <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.escabeauOk ? 'checked' }}>
                        <label class=\"form-check-label\">Non</label>
                    </div>
                    <div class=\"form-check form-check-inline me-0\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"escabeau_possible\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.escabeauOk ? 'checked' }}>
                        <label class=\"form-check-label\">Oui</label>
                    </div>
                </div>
                <div class=\"d-flex align-items-center\">
                    <label style=\"width:285px;\">Est-ce que l'entretien est réalisable ?</label>
                    <div class=\"form-check form-check-inline ms-auto\" style=\"margin-right: 16px;\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable\" value=\"non\" disabled {{ equipementHauteur and not equipementHauteur.entretienOk ? 'checked' }}>
                        <label class=\"form-check-label\">Non</label>
                    </div>
                    <div class=\"form-check form-check-inline me-0\">
                        <input class=\"form-check-input float-none\" type=\"radio\" name=\"entretien_realisable\" value=\"oui\" disabled {{ equipementHauteur and equipementHauteur.entretienOk ? 'checked' }}>
                        <label class=\"form-check-label\">Oui</label>
                    </div>
                </div>
            {% endif %}
            <div class=\"titre-small\" style=\"line-height: 1\">Commentaire intervention</div>
            <textarea disabled style=\"height:{% if is_readonly and is_pac %}88{% elseif is_readonly %}101{% else %}56{% endif %}px;text-align: left\" class=\"form-control\"></textarea>
            {% if is_readonly %}
                {# Refus de signature : seulement en mode readonly #}
                <div class=\"form-check align-items-center mt-1\">
                    <input type=\"checkbox\" disabled class=\"form-check-input\" {{ intervention.getCliRefusSignature ? 'checked' : '' }}>
                    <label class=\"ms-2\">Refus de signature</label>
                </div>
                <div class=\"titre-small\" style=\"line-height: 1\">Commentaire refus de signature</div>
                <textarea disabled style=\"height:64px;text-align: left\" class=\"form-control bg-grey\">{{ intervention.getCommentaireRefusSignature ? intervention.getCommentaireRefusSignature : '' }}</textarea>
            {% endif %}
        </div>
    </div>
</div>
", "intervention/bloc_intervention.html.twig", "/builds/dev/refonte_sav/templates/intervention/bloc_intervention.html.twig");
    }
}
