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

        // line 1
        $context["planification"] = 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.', 1, $this->source); })()), "getEquipementPreferencesPlanification", [], "any", false, false, false, 1);
        // line 2
        yield "<div class=\"px-2 py-2 bg-white color-primary w-100 h-100 block-infos-container d-flex flex-column preferences_planification ";
        yield (((0 === CoreExtension::compare((isset($context["nbEquipementsActif"]) || array_key_exists("nbEquipementsActif", $context) ? $context["nbEquipementsActif"] : (function () { throw new RuntimeError('Variable "nbEquipementsActif" does not exist.', 2, $this->source); })()), 1))) ? ("minim") : (""));
        yield "\" style=\"gap:0.7rem;\">
    <div class=\"d-flex flex-wrap justify-content-between\"  style=\"gap:0.7rem;\">
        <div class=\"d-flex align-items-center\">
            <label class=\"me-1\">A partir du</label>
            <input type=\"date\"  style=\"width:115px;\" max=\"";
        // line 6
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 6, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 6, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 6))) ? ($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 6, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 6), "Y-m-d")) : (((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 6, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 6, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 6))) ? ($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 6, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 6), "Y-m-d")) : ("")))), "html", null, true);
        yield "\" data-disable-on-view=\"\" name=\"date_a_partir_du-";
        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.', 6, $this->source); })()), "id", [], "any", false, false, false, 6), "html", null, true);
        yield "\" data-idequipement=\"";
        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.', 6, $this->source); })()), "id", [], "any", false, false, false, 6), "html", null, true);
        yield "\"  class=\"form-control px-0 pref_a_partir_du planification-";
        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.', 6, $this->source); })()), "id", [], "any", false, false, false, 6), "html", null, true);
        yield "\" value=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 6, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 6, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 6))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 6, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 6), "Y-m-d"), "html", null, true)) : (yield ""));
        yield "\" form=\"form_client_update\">
        </div>
        <div class=\"d-flex align-items-center\">
            <label class=\"me-1\">Avant le</label>
            <input type=\"date\"  style=\"width:115px\" min=\"";
        // line 10
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 10, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 10, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 10))) ? ($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 10, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 10), "Y-m-d")) : (((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 10, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 10, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 10))) ? ($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 10, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 10), "Y-m-d")) : ("")))), "html", null, true);
        yield "\"  data-disable-on-view=\"\" name=\"date_avant_le-";
        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.', 10, $this->source); })()), "id", [], "any", false, false, false, 10), "html", null, true);
        yield "\" data-idequipement=\"";
        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.', 10, $this->source); })()), "id", [], "any", false, false, false, 10), "html", null, true);
        yield "\"  class=\"form-control px-0 pref_avant_le planification-";
        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.', 10, $this->source); })()), "id", [], "any", false, false, false, 10), "html", null, true);
        yield "\" value=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 10, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 10, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 10))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 10, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 10), "Y-m-d"), "html", null, true)) : (yield ""));
        yield "\" form=\"form_client_update\">
        </div>
        <div class=\"d-flex align-items-center\" >
            <label class=\"me-1\">Entre</label>
            <input type=\"date\"  style=\"width:115px\"  data-disable-on-view=\"\" min=\"";
        // line 14
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 14, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 14, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 14))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 14, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 14), "Y-m-d"), "html", null, true)) : (yield ""));
        yield "\" max=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 14, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 14, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 14))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 14, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 14), "Y-m-d"), "html", null, true)) : (yield ""));
        yield "\"  name=\"date_entre_debut-";
        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.', 14, $this->source); })()), "id", [], "any", false, false, false, 14), "html", null, true);
        yield "\" data-idequipement=\"";
        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.', 14, $this->source); })()), "id", [], "any", false, false, false, 14), "html", null, true);
        yield "\"   class=\"form-control px-0 pref_entre_debut planification-";
        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.', 14, $this->source); })()), "id", [], "any", false, false, false, 14), "html", null, true);
        yield "\" value=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 14, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 14, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 14))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 14, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 14), "Y-m-d"), "html", null, true)) : (yield ""));
        yield "\" form=\"form_client_update\">
            &nbsp;et &nbsp; <input type=\"date\"  style=\"width:115px\"  data-disable-on-view=\"\" max=\"";
        // line 15
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 15, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 15, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 15))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 15, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 15), "Y-m-d"), "html", null, true)) : (yield ""));
        yield "\" min=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 15, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 15, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 15))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 15, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 15), "Y-m-d"), "html", null, true)) : (yield ""));
        yield "\"  data-idequipement=\"";
        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.', 15, $this->source); })()), "id", [], "any", false, false, false, 15), "html", null, true);
        yield "\"  name=\"date_entre_fin-";
        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.', 15, $this->source); })()), "id", [], "any", false, false, false, 15), "html", null, true);
        yield "\"  class=\"form-control px-0 pref_entre_fin planification-";
        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.', 15, $this->source); })()), "id", [], "any", false, false, false, 15), "html", null, true);
        yield "\" value=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 15, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 15, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 15))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 15, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 15), "Y-m-d"), "html", null, true)) : (yield ""));
        yield "\" form=\"form_client_update\">
        </div>
    </div>
    <div class=\"d-flex flex-wrap justify-content-between\" style=\"gap:0.2rem;\">
        <div class=\"d-flex align-items-center\">
            <label  class=\"me-1\">Planifier</label>
            <select class=\"form-control w-auto planification-";
        // line 21
        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.', 21, $this->source); })()), "id", [], "any", false, false, false, 21), "html", null, true);
        yield "\" name=\"planifier_preference-";
        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.', 21, $this->source); })()), "id", [], "any", false, false, false, 21), "html", null, true);
        yield "\" data-disable-on-view=\"\" form=\"form_client_update\">
                <option value=\"Indifférent\" ";
        // line 22
        yield (((0 === CoreExtension::compare("Indifférent", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", true, true, false, 22)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", false, false, false, 22), "")) : (""))))) ? ("selected") : (""));
        yield ">Indifférent</option>
                <option value=\"uniquement\" ";
        // line 23
        yield (((0 === CoreExtension::compare("uniquement", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", true, true, false, 23)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", false, false, false, 23), "")) : (""))))) ? ("selected") : (""));
        yield ">uniquement</option>
                <option value=\"jamais\" ";
        // line 24
        yield (((0 === CoreExtension::compare("jamais", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", true, true, false, 24)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", false, false, false, 24), "")) : (""))))) ? ("selected") : (""));
        yield ">jamais</option>
                <option value=\"de préférence\" ";
        // line 25
        yield (((0 === CoreExtension::compare("de préférence", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", true, true, false, 25)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", false, false, false, 25), "")) : (""))))) ? ("selected") : (""));
        yield ">de préférence</option>
            </select>
        </div>
        <div class=\"d-flex align-items-center\">
            <label class=\"me-1\">le</label>
            <select multiple  data-width=\"100%\" class=\"form-control me-2 w-auto my-select-multiple planification-multiple-";
        // line 30
        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.', 30, $this->source); })()), "id", [], "any", false, false, false, 30), "html", null, true);
        yield "\" name=\"planifier_jour-";
        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.', 30, $this->source); })()), "id", [], "any", false, false, false, 30), "html", null, true);
        yield "[]\" style=\"width:200px;\" data-disable-on-view=\"\" form=\"form_client_update\">
                <option value=\"\" ";
        // line 31
        yield (((0 === CoreExtension::compare("", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 31)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 31), "")) : (""))))) ? ("selected") : (""));
        yield "></option>
                <option value=\"Lundi\" ";
        // line 32
        yield ((CoreExtension::inFilter("Lundi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 32)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 32), "")) : ("")))) ? ("selected") : (""));
        yield ">Lundi</option>
                <option value=\"Mardi\" ";
        // line 33
        yield ((CoreExtension::inFilter("Mardi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 33)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 33), "")) : ("")))) ? ("selected") : (""));
        yield ">Mardi</option>
                <option value=\"Mercredi\" ";
        // line 34
        yield ((CoreExtension::inFilter("Mercredi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 34)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 34), "")) : ("")))) ? ("selected") : (""));
        yield ">Mercredi</option>
                <option value=\"Jeudi\" ";
        // line 35
        yield ((CoreExtension::inFilter("Jeudi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 35)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 35), "")) : ("")))) ? ("selected") : (""));
        yield ">Jeudi</option>
                <option value=\"Vendredi\" ";
        // line 36
        yield ((CoreExtension::inFilter("Vendredi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 36)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 36), "")) : ("")))) ? ("selected") : (""));
        yield ">Vendredi</option>
                <option value=\"Samedi\" ";
        // line 37
        yield ((CoreExtension::inFilter("Samedi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 37)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 37), "")) : ("")))) ? ("selected") : (""));
        yield ">Samedi</option>
            </select>

            <select class=\"form-control me-2 w-auto planification-";
        // line 40
        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.', 40, $this->source); })()), "id", [], "any", false, false, false, 40), "html", null, true);
        yield "\" name=\"planifier_partie_journee-";
        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.', 40, $this->source); })()), "id", [], "any", false, false, false, 40), "html", null, true);
        yield "\" data-disable-on-view=\"\" form=\"form_client_update\">
                <option value=\"Indifférent\" ";
        // line 41
        yield (((0 === CoreExtension::compare("Indifférent", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", true, true, false, 41)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", false, false, false, 41), "")) : (""))))) ? ("selected") : (""));
        yield ">Indifférent</option>
                <option value=\"Matin\" ";
        // line 42
        yield (((0 === CoreExtension::compare("Matin", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", true, true, false, 42)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", false, false, false, 42), "")) : (""))))) ? ("selected") : (""));
        yield ">Matin
                <option value=\"Après midi\" ";
        // line 43
        yield (((0 === CoreExtension::compare("Après midi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", true, true, false, 43)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", false, false, false, 43), "")) : (""))))) ? ("selected") : (""));
        yield ">Après midi</option>
            </select>
            <select class=\"form-control me-2 w-auto planification-";
        // line 45
        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.', 45, $this->source); })()), "id", [], "any", false, false, false, 45), "html", null, true);
        yield "\" name=\"planifier_avant_apres-";
        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.', 45, $this->source); })()), "id", [], "any", false, false, false, 45), "html", null, true);
        yield "\" data-disable-on-view=\"\" form=\"form_client_update\">
                <option value=\"Indifférent\" ";
        // line 46
        yield (((0 === CoreExtension::compare("Indifférent", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAvantApres", [], "any", true, true, false, 46)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAvantApres", [], "any", false, false, false, 46), "")) : (""))))) ? ("selected") : (""));
        yield ">Indifférent</option>
                <option value=\"Avant\" ";
        // line 47
        yield (((0 === CoreExtension::compare("Avant", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAvantApres", [], "any", true, true, false, 47)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAvantApres", [], "any", false, false, false, 47), "")) : (""))))) ? ("selected") : (""));
        yield ">Avant
                <option value=\"Après\" ";
        // line 48
        yield (((0 === CoreExtension::compare("Après", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAvantApres", [], "any", true, true, false, 48)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAvantApres", [], "any", false, false, false, 48), "")) : (""))))) ? ("selected") : (""));
        yield ">Après</option>
            </select>

            <!-- Sélecteur d'heures -->
            <select name=\"planifier_heure-";
        // line 52
        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.', 52, $this->source); })()), "id", [], "any", false, false, false, 52), "html", null, true);
        yield "\" class=\"form-control planification-";
        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.', 52, $this->source); })()), "id", [], "any", false, false, false, 52), "html", null, true);
        yield "\" data-disable-on-view=\"\" form=\"form_client_update\" style=\"width:39px\">
                <option value=\"\"></option>
                ";
        // line 54
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(range(0, 23));
        foreach ($context['_seq'] as $context["_key"] => $context["hour"]) {
            // line 55
            yield "                    <option value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%02d", $context["hour"]), "html", null, true);
            yield "\"  ";
            yield (((0 === CoreExtension::compare(Twig\Extension\CoreExtension::sprintf("%02d", $context["hour"]), ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierHeure", [], "any", true, true, false, 55)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierHeure", [], "any", false, false, false, 55), "")) : (""))))) ? ("selected") : (""));
            yield ">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%02d", $context["hour"]), "html", null, true);
            yield "</option>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['hour'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 57
        yield "            </select>&nbsp;:&nbsp;

            <!-- Sélecteur de minutes -->
            <select name=\"planifier_minute-";
        // line 60
        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.', 60, $this->source); })()), "id", [], "any", false, false, false, 60), "html", null, true);
        yield "\"   class=\"form-control planification-";
        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.', 60, $this->source); })()), "id", [], "any", false, false, false, 60), "html", null, true);
        yield "\" data-disable-on-view=\"\" form=\"form_client_update\" style=\"width:39px\">
                <option value=\"\"></option>
                ";
        // line 62
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(range(0, 59));
        foreach ($context['_seq'] as $context["_key"] => $context["minute"]) {
            // line 63
            yield "                    <option value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%02d", $context["minute"]), "html", null, true);
            yield "\"  ";
            yield (((0 === CoreExtension::compare(Twig\Extension\CoreExtension::sprintf("%02d", $context["minute"]), ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierMinute", [], "any", true, true, false, 63)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierMinute", [], "any", false, false, false, 63), "")) : (""))))) ? ("selected") : (""));
            yield ">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("%02d", $context["minute"]), "html", null, true);
            yield "</option>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['minute'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 65
        yield "            </select>
        </div>
        ";
        // line 67
        if ((1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["client"]) || array_key_exists("client", $context) ? $context["client"] : (function () { throw new RuntimeError('Variable "client" does not exist.', 67, $this->source); })()), "equipements", [], "any", false, false, false, 67)), 1))) {
            // line 68
            yield "            <button  class=\"btn btn-md btn-block btn-success align-self-center ms-auto\"  ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["disabled"]) || array_key_exists("disabled", $context) ? $context["disabled"] : (function () { throw new RuntimeError('Variable "disabled" does not exist.', 68, $this->source); })()), "html", null, true);
            yield " data-disable-on-view=\"\" data-poppup-container=\"body\" data-popup-id=\"popup-preference-plannification-";
            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.', 68, $this->source); })()), "id", [], "any", false, false, false, 68), "html", null, true);
            yield "\" data-dxpopup=\"\" data-popup-title=\"Gestion des préférences de planification\" data-popup-width=\"auto\">Gestion</button>
        ";
        }
        // line 70
        yield "        <button title=\"remettre à 0 les préférences\" data-disable-on-view=\"\" data-confirm=\"1\" data-js=\"\$('.planification-";
        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.', 70, $this->source); })()), "id", [], "any", false, false, false, 70), "html", null, true);
        yield "').val('');\$('select.planification-multiple-";
        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.', 70, $this->source); })()), "id", [], "any", false, false, false, 70), "html", null, true);
        yield "').val('');\$('select.planification-multiple-";
        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.', 70, $this->source); })()), "id", [], "any", false, false, false, 70), "html", null, true);
        yield "').selectpicker('refresh');\$('select.planification-";
        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.', 70, $this->source); })()), "id", [], "any", false, false, false, 70), "html", null, true);
        yield "').each(function(e){\$(this).find('option:first').prop('selected',true);});\" data-message=\"Etes vous sur de vouloir vider les préférences de plannification?\" data-href=\"\" class=\"align-self-center btn bg-orange\" style=\"font-size: 0.8rem;\" ><i class=\"fa fa-undo bg-orange\"> </i></button>
    </div>
</div>";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  286 => 70,  278 => 68,  276 => 67,  272 => 65,  259 => 63,  255 => 62,  248 => 60,  243 => 57,  230 => 55,  226 => 54,  219 => 52,  212 => 48,  208 => 47,  204 => 46,  198 => 45,  193 => 43,  189 => 42,  185 => 41,  179 => 40,  173 => 37,  169 => 36,  165 => 35,  161 => 34,  157 => 33,  153 => 32,  149 => 31,  143 => 30,  135 => 25,  131 => 24,  127 => 23,  123 => 22,  117 => 21,  98 => 15,  84 => 14,  69 => 10,  54 => 6,  46 => 2,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% set planification = equipement.getEquipementPreferencesPlanification %}
<div class=\"px-2 py-2 bg-white color-primary w-100 h-100 block-infos-container d-flex flex-column preferences_planification {{ nbEquipementsActif == 1 ? 'minim' : '' }}\" style=\"gap:0.7rem;\">
    <div class=\"d-flex flex-wrap justify-content-between\"  style=\"gap:0.7rem;\">
        <div class=\"d-flex align-items-center\">
            <label class=\"me-1\">A partir du</label>
            <input type=\"date\"  style=\"width:115px;\" max=\"{{ planification and planification.getDateEntreDebut ? planification.getDateEntreDebut|date('Y-m-d') : planification and planification.getDateAvantLe ? planification.getDateAvantLe|date('Y-m-d') : ''  }}\" data-disable-on-view=\"\" name=\"date_a_partir_du-{{ equipement.id }}\" data-idequipement=\"{{ equipement.id }}\"  class=\"form-control px-0 pref_a_partir_du planification-{{ equipement.id }}\" value=\"{{planification and planification.getDateAPartirDu ? planification.getDateAPartirDu|date(\"Y-m-d\") :  '' }}\" form=\"form_client_update\">
        </div>
        <div class=\"d-flex align-items-center\">
            <label class=\"me-1\">Avant le</label>
            <input type=\"date\"  style=\"width:115px\" min=\"{{ planification and planification.getDateEntreFin ? planification.getDateEntreFin|date('Y-m-d') :  planification and planification.getDateAPartirDu ? planification.getDateAPartirDu|date('Y-m-d') : ''  }}\"  data-disable-on-view=\"\" name=\"date_avant_le-{{ equipement.id }}\" data-idequipement=\"{{ equipement.id }}\"  class=\"form-control px-0 pref_avant_le planification-{{ equipement.id }}\" value=\"{{planification and planification.getDateAvantLe ? planification.getDateAvantLe|date(\"Y-m-d\") : '' }}\" form=\"form_client_update\">
        </div>
        <div class=\"d-flex align-items-center\" >
            <label class=\"me-1\">Entre</label>
            <input type=\"date\"  style=\"width:115px\"  data-disable-on-view=\"\" min=\"{{ planification and planification.getDateAPartirDu ? planification.getDateAPartirDu|date('Y-m-d')  : ''  }}\" max=\"{{  planification and  planification.getDateAvantLe? planification.getDateAvantLe|date('Y-m-d')  : ''  }}\"  name=\"date_entre_debut-{{ equipement.id }}\" data-idequipement=\"{{ equipement.id }}\"   class=\"form-control px-0 pref_entre_debut planification-{{ equipement.id }}\" value=\"{{planification and planification.getDateEntreDebut ? planification.getDateEntreDebut|date(\"Y-m-d\") : '' }}\" form=\"form_client_update\">
            &nbsp;et &nbsp; <input type=\"date\"  style=\"width:115px\"  data-disable-on-view=\"\" max=\"{{ planification and planification.getDateAvantLe ? planification.getDateAvantLe|date('Y-m-d')  : ''  }}\" min=\"{{ planification and planification.getDateAPartirDu  ? planification.getDateAPartirDu|date('Y-m-d')  : ''  }}\"  data-idequipement=\"{{ equipement.id }}\"  name=\"date_entre_fin-{{ equipement.id }}\"  class=\"form-control px-0 pref_entre_fin planification-{{ equipement.id }}\" value=\"{{planification and planification.getDateEntreFin? planification.getDateEntreFin|date(\"Y-m-d\") : '' }}\" form=\"form_client_update\">
        </div>
    </div>
    <div class=\"d-flex flex-wrap justify-content-between\" style=\"gap:0.2rem;\">
        <div class=\"d-flex align-items-center\">
            <label  class=\"me-1\">Planifier</label>
            <select class=\"form-control w-auto planification-{{ equipement.id }}\" name=\"planifier_preference-{{ equipement.id }}\" data-disable-on-view=\"\" form=\"form_client_update\">
                <option value=\"Indifférent\" {{ 'Indifférent' == planification.getPlanifierPreference|default('') ? 'selected' : '' }}>Indifférent</option>
                <option value=\"uniquement\" {{ 'uniquement' == planification.getPlanifierPreference|default('') ? 'selected' : '' }}>uniquement</option>
                <option value=\"jamais\" {{ 'jamais' == planification.getPlanifierPreference|default('') ? 'selected' : '' }}>jamais</option>
                <option value=\"de préférence\" {{ 'de préférence' == planification.getPlanifierPreference|default('') ? 'selected' : '' }}>de préférence</option>
            </select>
        </div>
        <div class=\"d-flex align-items-center\">
            <label class=\"me-1\">le</label>
            <select multiple  data-width=\"100%\" class=\"form-control me-2 w-auto my-select-multiple planification-multiple-{{ equipement.id }}\" name=\"planifier_jour-{{ equipement.id }}[]\" style=\"width:200px;\" data-disable-on-view=\"\" form=\"form_client_update\">
                <option value=\"\" {{ '' == planification.getPlanifierJour|default('') ? 'selected' : '' }}></option>
                <option value=\"Lundi\" {{ 'Lundi' in planification.getPlanifierJour|default('') ? 'selected' : '' }}>Lundi</option>
                <option value=\"Mardi\" {{ 'Mardi' in planification.getPlanifierJour|default('') ? 'selected' : '' }}>Mardi</option>
                <option value=\"Mercredi\" {{ 'Mercredi' in planification.getPlanifierJour|default('') ? 'selected' : '' }}>Mercredi</option>
                <option value=\"Jeudi\" {{ 'Jeudi' in planification.getPlanifierJour|default('') ? 'selected' : '' }}>Jeudi</option>
                <option value=\"Vendredi\" {{ 'Vendredi' in planification.getPlanifierJour|default('') ? 'selected' : '' }}>Vendredi</option>
                <option value=\"Samedi\" {{ 'Samedi' in planification.getPlanifierJour|default('') ? 'selected' : '' }}>Samedi</option>
            </select>

            <select class=\"form-control me-2 w-auto planification-{{ equipement.id }}\" name=\"planifier_partie_journee-{{ equipement.id }}\" data-disable-on-view=\"\" form=\"form_client_update\">
                <option value=\"Indifférent\" {{ 'Indifférent' == planification.getPlanifierPartieJournee|default('') ? 'selected' : '' }}>Indifférent</option>
                <option value=\"Matin\" {{ 'Matin' == planification.getPlanifierPartieJournee|default('') ? 'selected' : '' }}>Matin
                <option value=\"Après midi\" {{ 'Après midi' == planification.getPlanifierPartieJournee|default('') ? 'selected' : '' }}>Après midi</option>
            </select>
            <select class=\"form-control me-2 w-auto planification-{{ equipement.id }}\" name=\"planifier_avant_apres-{{ equipement.id }}\" data-disable-on-view=\"\" form=\"form_client_update\">
                <option value=\"Indifférent\" {{ 'Indifférent' == planification.getPlanifierAvantApres|default('') ? 'selected' : '' }}>Indifférent</option>
                <option value=\"Avant\" {{ 'Avant' == planification.getPlanifierAvantApres|default('') ? 'selected' : '' }}>Avant
                <option value=\"Après\" {{ 'Après' == planification.getPlanifierAvantApres|default('') ? 'selected' : '' }}>Après</option>
            </select>

            <!-- Sélecteur d'heures -->
            <select name=\"planifier_heure-{{ equipement.id }}\" class=\"form-control planification-{{ equipement.id }}\" data-disable-on-view=\"\" form=\"form_client_update\" style=\"width:39px\">
                <option value=\"\"></option>
                {% for hour in 0..23 %}
                    <option value=\"{{ \"%02d\"|format(hour) }}\"  {{ \"%02d\"|format(hour) == planification.getPlanifierHeure|default('') ? 'selected' : '' }}>{{  \"%02d\"|format(hour) }}</option>
                {% endfor %}
            </select>&nbsp;:&nbsp;

            <!-- Sélecteur de minutes -->
            <select name=\"planifier_minute-{{ equipement.id }}\"   class=\"form-control planification-{{ equipement.id }}\" data-disable-on-view=\"\" form=\"form_client_update\" style=\"width:39px\">
                <option value=\"\"></option>
                {% for minute in 0..59 %}
                    <option value=\"{{ \"%02d\"|format(minute) }}\"  {{ \"%02d\"|format(minute) == planification.getPlanifierMinute|default('') ? 'selected' : '' }}>{{  \"%02d\"|format(minute) }}</option>
                {% endfor %}
            </select>
        </div>
        {% if client.equipements|length > 1 %}
            <button  class=\"btn btn-md btn-block btn-success align-self-center ms-auto\"  {{ disabled }} data-disable-on-view=\"\" data-poppup-container=\"body\" data-popup-id=\"popup-preference-plannification-{{ equipement.id }}\" data-dxpopup=\"\" data-popup-title=\"Gestion des préférences de planification\" data-popup-width=\"auto\">Gestion</button>
        {% endif %}
        <button title=\"remettre à 0 les préférences\" data-disable-on-view=\"\" data-confirm=\"1\" data-js=\"\$('.planification-{{ equipement.id }}').val('');\$('select.planification-multiple-{{ equipement.id }}').val('');\$('select.planification-multiple-{{ equipement.id }}').selectpicker('refresh');\$('select.planification-{{ equipement.id }}').each(function(e){\$(this).find('option:first').prop('selected',true);});\" data-message=\"Etes vous sur de vouloir vider les préférences de plannification?\" data-href=\"\" class=\"align-self-center btn bg-orange\" style=\"font-size: 0.8rem;\" ><i class=\"fa fa-undo bg-orange\"> </i></button>
    </div>
</div>", "clients/_equipement_preference_planification.html.twig", "/builds/dev/refonte_sav/templates/clients/_equipement_preference_planification.html.twig");
    }
}
