<?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;

/* clients/_equipement_infos_list.html.twig */
class __TwigTemplate_9b2f4d24f2b88fd3abd0bcccf3715c3fc4ac6f0265d5ea1a438b644cfbb442a0 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", "clients/_equipement_infos_list.html.twig"));

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

        // line 1
        yield "<span style=\"font-weight: bold;\">
        <span>N°";
        // line 2
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["equipement"]) || array_key_exists("equipement", $context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.', 2, $this->source); })()), "numSerieprincipal", [], "any", false, false, false, 2), "html", null, true);
        yield "</span><span style=\"float:right\">";
        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["equipement"]) || array_key_exists("equipement", $context) ? $context["equipement"] : (function () { throw new RuntimeError('Variable "equipement" does not exist.', 2, $this->source); })()), "EquipementTypePuissance", [], "any", false, false, false, 2), "EquipementType", [], "any", false, false, false, 2), "type", [], "any", false, false, false, 2), "html", null, true);
        yield "  <i class=\"fa fa-lg fa-remove ms-2\" style=\"color:red\"></i></span>
    </span>
<br/>
<span class=\"w-100\">";
        // line 5
        ((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); })()), "EquipementFamille", [], "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); })()), "EquipementFamille", [], "any", false, false, false, 5), "libelle", [], "any", false, false, false, 5), "html", null, true)) : (yield ""));
        yield "</span>
<br/>
<span class=\"mt-2 w-100\">
    <span class=\"bg-primary me-1\" style=\"padding: 4px;border-radius: 3px;\"> ";
        // line 8
        ((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.', 8, $this->source); })()), "EquipementFamilleContrat", [], "any", false, false, false, 8)) ? (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.', 8, $this->source); })()), "EquipementFamilleContrat", [], "any", false, false, false, 8), "code", [], "any", false, false, false, 8), "html", null, true)) : (yield ""));
        yield "</span>
    &nbsp;";
        // line 9
        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.', 9, $this->source); })()), "adresse", [], "any", false, false, false, 9), "codePostal", [], "any", false, false, false, 9) . " ") . 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.', 9, $this->source); })()), "adresse", [], "any", false, false, false, 9), "ville", [], "any", false, false, false, 9)), "html", null, true);
        yield "
    <i class=\"fa fa-calendar-alt circle-icon bg-violet\" style=\"float:right;margin-right:0\"></i>
    ";
        // line 11
        if ((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.', 11, $this->source); })()), "getLastContrat", [], "any", false, false, false, 11) && 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.', 11, $this->source); })()), "getLastContrat", [], "any", false, false, false, 11), "groupe", [], "any", false, false, false, 11))) {
            // line 12
            yield "        <i class=\"fa fa-users circle-icon popper bg-vert\" style=\"float:right;margin-left:1rem;font-size:18px\"></i>
        <div class=\"info-tooltip bg-vert\">N°";
            // line 13
            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.', 13, $this->source); })()), "getLastContrat", [], "any", false, false, false, 13), "groupe", [], "any", false, false, false, 13), "html", null, true);
            yield "</div>
    ";
        }
        // line 15
        yield "</span>";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  80 => 15,  75 => 13,  72 => 12,  70 => 11,  65 => 9,  61 => 8,  55 => 5,  47 => 2,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<span style=\"font-weight: bold;\">
        <span>N°{{ equipement.numSerieprincipal }}</span><span style=\"float:right\">{{ equipement.EquipementTypePuissance.EquipementType.type }}  <i class=\"fa fa-lg fa-remove ms-2\" style=\"color:red\"></i></span>
    </span>
<br/>
<span class=\"w-100\">{{ equipement.EquipementFamille ? equipement.EquipementFamille.libelle : '' }}</span>
<br/>
<span class=\"mt-2 w-100\">
    <span class=\"bg-primary me-1\" style=\"padding: 4px;border-radius: 3px;\"> {{ equipement.EquipementFamilleContrat ? equipement.EquipementFamilleContrat.code }}</span>
    &nbsp;{{ equipement.adresse.codePostal ~ ' ' ~ equipement.adresse.ville}}
    <i class=\"fa fa-calendar-alt circle-icon bg-violet\" style=\"float:right;margin-right:0\"></i>
    {%  if equipement.getLastContrat and equipement.getLastContrat.groupe %}
        <i class=\"fa fa-users circle-icon popper bg-vert\" style=\"float:right;margin-left:1rem;font-size:18px\"></i>
        <div class=\"info-tooltip bg-vert\">N°{{ equipement.getLastContrat.groupe }}</div>
    {% endif %}
</span>", "clients/_equipement_infos_list.html.twig", "/builds/dev/refonte_sav/templates/clients/_equipement_infos_list.html.twig");
    }
}
