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

        // line 1
        yield "<div class=\"px-2 py-2 bg-white color-primary w-100 h-100 block-infos-container\">
    <div class=\"mb-2\">
        <div class=\"d-flex\">
            <i class=\"fa fa-lg fa-2x fa-home align-self-center\" style=\"margin-left: -0.2rem;  margin-right: 0.6rem;width:";
        // line 4
        yield (((isset($context["is_pac"]) || array_key_exists("is_pac", $context) ? $context["is_pac"] : (function () { throw new RuntimeError('Variable "is_pac" does not exist.', 4, $this->source); })())) ? ("61") : ("45"));
        yield "px;\"></i>
            <input type=\"text\" disabled value=\"";
        // line 5
        ((((isset($context["equipement"]) || array_key_exists("equipement", $context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.', 5, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipement"]) || array_key_exists("equipement", $context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.', 5, $this->source); })()), "adresse", [], "any", false, false, false, 5))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipement"]) || array_key_exists("equipement", $context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.', 5, $this->source); })()), "adresse", [], "any", false, false, false, 5), "getLisibleAdresse", [], "any", false, false, false, 5), "html", null, true)) : (yield ""));
        yield "\"  class=\"form-control bg-grey\">

        </div>
    </div>
    <div class=\"client-infostech-infos d-flex flex-wrap\" style=\"gap:0.5rem;\">
        ";
        // line 10
        if ((isset($context["equipement"]) || array_key_exists("equipement", $context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.', 10, $this->source); })())) {
            // line 11
            yield "            ";
            if ((isset($context["is_pac"]) || array_key_exists("is_pac", $context) ? $context["is_pac"] : (function () { throw new RuntimeError('Variable "is_pac" does not exist.', 11, $this->source); })())) {
                // line 12
                yield "                ";
                yield Twig\Extension\CoreExtension::include($this->env, $context, "clients/informations_technique/infostec_pac.html.twig");
                yield "
            ";
            } else {
                // line 14
                yield "                ";
                yield Twig\Extension\CoreExtension::include($this->env, $context, "clients/informations_technique/infostec_chaudiere.html.twig");
                yield "
            ";
            }
            // line 16
            yield "        ";
        }
        // line 17
        yield "    </div>
</div>";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  81 => 17,  78 => 16,  72 => 14,  66 => 12,  63 => 11,  61 => 10,  53 => 5,  49 => 4,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<div class=\"px-2 py-2 bg-white color-primary w-100 h-100 block-infos-container\">
    <div class=\"mb-2\">
        <div class=\"d-flex\">
            <i class=\"fa fa-lg fa-2x fa-home align-self-center\" style=\"margin-left: -0.2rem;  margin-right: 0.6rem;width:{{ is_pac ? '61' : '45' }}px;\"></i>
            <input type=\"text\" disabled value=\"{{ equipement and equipement.adresse ? equipement.adresse.getLisibleAdresse : '' }}\"  class=\"form-control bg-grey\">

        </div>
    </div>
    <div class=\"client-infostech-infos d-flex flex-wrap\" style=\"gap:0.5rem;\">
        {% if equipement %}
            {% if is_pac %}
                {{ include('clients/informations_technique/infostec_pac.html.twig') }}
            {% else %}
                {{ include('clients/informations_technique/infostec_chaudiere.html.twig') }}
            {% endif %}
        {% endif %}
    </div>
</div>", "intervention/bloc_equipement.html.twig", "/builds/dev/refonte_sav/templates/intervention/bloc_equipement.html.twig");
    }
}
