<?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/_popup_pref_planification.html.twig */
class __TwigTemplate_7c2cb7667d7cc92c792416772d2cc2ce20c63bab67305daa1679ded727b66e54 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/_popup_pref_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/_popup_pref_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
        $context["secteur"] = 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); })()), "getSecteur", [], "any", false, false, false, 2);
        // line 3
        yield "<div id=\"popup_pref_planification\" style=\"display: none;\">
    <form  class=\"form  mt-0 px-2 \" id=\"form-preferences-planification\" action=\"";
        // line 4
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("equipement_maj_preferences_planification", ["id" => 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.', 4, $this->source); })()), "id", [], "any", false, false, false, 4)]), "html", null, true);
        yield "\" method=\"post\" style=\"width:630px\" >
        <div class=\"color-primary fw-600\">Dates</div>
        <div class=\"border-top-grey  my-2\"></div>
        <div class=\"d-flex ps-4 flex-column\">
            <div class=\"d-flex\">
                <div class=\"d-flex align-items-center me-3\" >
                    <label style=\"margin-right: 1rem\">Planifier entre le</label>
                    <input type=\"text\" style=\"width:115px;font-size:13px;\" data-format=\"";
        // line 11
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 11, $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.', 11, $this->source); })()), "getInclusionRecurrente", [], "any", false, false, false, 11))) ? ("dd MM") : ("dd/mm/yy"));
        yield "\" class=\"form-control input-datepicker pref_entre_debut\"  id=\"planification_entre_debut\"  data-min=\"";
        (((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 11, $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.', 11, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 11)) && 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.', 11, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 11))) ? (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.', 11, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 11), "d/m/Y"), "html", null, true)) : (yield ""));
        yield "\" data-max=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 11, $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.', 11, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 11))) ? (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.', 11, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 11), "d/m/Y"), "html", null, true)) : (yield ""));
        yield "\"  name=\"date_entre_debut\"   class=\"form-control bg-grey px-0 pref_entre_debut planification \" value=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 11, $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.', 11, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 11))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((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.', 11, $this->source); })()), "getInclusionRecurrente", [], "any", false, false, false, 11)) ? ($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, 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.', 11, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 11), "medium", "medium", "dd MMMM", null, "gregorian", "fr")) : ($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.', 11, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 11), "d/m/Y"))), "html", null, true)) : (yield ""));
        yield "\" >
                    &nbsp;et le &nbsp; <input type=\"text\"  style=\"width:115px;font-size:13px;\" data-format=\"";
        // line 12
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 12, $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.', 12, $this->source); })()), "getInclusionRecurrente", [], "any", false, false, false, 12))) ? ("dd MM") : ("dd/mm/yy"));
        yield "\" class=\"form-control input-datepicker pref_entre_fin\" id=\"planification_entre_fin\"  data-max=\"";
        (((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 12, $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.', 12, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 12)) && 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.', 12, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 12))) ? (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.', 12, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 12), "d/m/Y"), "html", null, true)) : (yield ""));
        yield "\" data-min=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 12, $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.', 12, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 12))) ? (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.', 12, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 12), "d/m/Y"), "html", null, true)) : (yield ""));
        yield "\"   name=\"date_entre_fin\"  class=\"form-control bg-grey px-0 pref_entre_fin planification \" value=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 12, $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.', 12, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 12))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((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.', 12, $this->source); })()), "getInclusionRecurrente", [], "any", false, false, false, 12)) ? ($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, 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.', 12, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 12), "medium", "medium", "dd MMMM", null, "gregorian", "fr")) : ($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.', 12, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 12), "d/m/Y"))), "html", null, true)) : (yield ""));
        yield "\" >
                </div>
                <div class=\"form-check\" style=\"margin-right:2.5rem;\">
                    <input class=\"form-check-input input_recurrente\"  value='oui' id=\"inclusion_recurrente\"  ";
        // line 15
        yield ((((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); })()), "getInclusionRecurrente", [], "any", false, false, false, 15))) ? ("checked") : (""));
        yield " name=\"inclusion_recurrente\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"inclusion_recurrente\" style=\"padding-top: 0.4rem;\">Dates récurrentes</label>
                </div>
            </div>
            <div class=\"form-check mb-4\" style=\"margin-right:1rem;\">
                <input class=\"form-check-input\"  value='oui'  ";
        // line 20
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 20, $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.', 20, $this->source); })()), "getUniquementScolaire", [], "any", false, false, false, 20))) ? ("checked") : (""));
        yield " name=\"uniquement_scolaire\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                <label class=\"form-check-label me-1 \" for=\"uniquement_scolaiuniquement_scolairere\" style=\"padding-top: 0.4rem;\">Planifier uniquement pendant les vacances scolaires</label>
            </div>
        </div>
        <div class=\"ps-4\">
            <div class=\"d-flex align-items-center me-3 mb-3\">
                <label class=\"me-3\"> Planifier avant le</label>
                <input type=\"text\" style=\"width:115px;font-size:13px;\" data-format=\"";
        // line 27
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 27, $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.', 27, $this->source); })()), "getAvantRecurrente", [], "any", false, false, false, 27))) ? ("dd MM") : ("dd/mm/yy"));
        yield "\" class=\"form-control input-datepicker pref_avant_le\"  id=\"date_avant_le\" data-max=\"";
        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.', 27, $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.', 27, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 27))) ? ($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.', 27, $this->source); })()), "getDateEntreFin", [], "any", false, false, false, 27), "d/m/Y")) : (((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 27, $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.', 27, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 27))) ? ($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.', 27, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 27), "d/m/Y")) : ("")))), "html", null, true);
        yield "\"  name=\"date_avant_le\"  class=\"form-control bg-grey px-0 pref_avant_le planification\" value=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 27, $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.', 27, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 27))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((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.', 27, $this->source); })()), "getAvantRecurrente", [], "any", false, false, false, 27)) ? ($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, 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.', 27, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 27), "medium", "medium", "dd MMMM", null, "gregorian", "fr")) : ($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.', 27, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 27), "d/m/Y"))), "html", null, true)) : (yield ""));
        yield "\" >
                <div class=\"form-check ms-3\" style=\"margin-right:2.5rem;\">
                    <input class=\"form-check-input\"  value='oui' id=\"avant_recurrente\" ";
        // line 29
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 29, $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.', 29, $this->source); })()), "getAvantRecurrente", [], "any", false, false, false, 29))) ? ("checked") : (""));
        yield "  name=\"avant_recurrente\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"avant_recurrente\" style=\"padding-top: 0.4rem;\">Récurrent</label>
                </div>
            </div>
            <div class=\"d-flex align-items-center me-3\">
                <label class=\"me-3\">Planifier après le</label>
                <input type=\"text\" style=\"width:115px;font-size:13px;\" data-format=\"";
        // line 35
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 35, $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.', 35, $this->source); })()), "getApresRecurrente", [], "any", false, false, false, 35))) ? ("dd MM") : ("dd/mm/yy"));
        yield "\"  class=\"form-control input-datepicker pref_a_partir_du\"  id=\"date_apres_le\" data-min=\"";
        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.', 35, $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.', 35, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 35))) ? ($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.', 35, $this->source); })()), "getDateEntreDebut", [], "any", false, false, false, 35), "d/m/Y")) : (((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 35, $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.', 35, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 35))) ? ($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.', 35, $this->source); })()), "getDateAvantLe", [], "any", false, false, false, 35), "d/m/Y")) : ("")))), "html", null, true);
        yield "\" name=\"date_a_partir_du\" class=\"form-control bg-grey px-0 pref_a_partir_du planification\" value=\"";
        ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 35, $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.', 35, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 35))) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((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.', 35, $this->source); })()), "getApresRecurrente", [], "any", false, false, false, 35)) ? ($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, 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.', 35, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 35), "medium", "medium", "dd MMMM", null, "gregorian", "fr")) : ($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.', 35, $this->source); })()), "getDateAPartirDu", [], "any", false, false, false, 35), "d/m/Y"))), "html", null, true)) : (yield ""));
        yield "\">
                <div class=\"form-check ms-3\" style=\"margin-right:2.5rem;\">
                    <input class=\"form-check-input\"  value='oui' id=\"apres_recurrente\" ";
        // line 37
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 37, $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.', 37, $this->source); })()), "getApresRecurrente", [], "any", false, false, false, 37))) ? ("checked") : (""));
        yield "  name=\"apres_recurrente\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"apres_recurrente\" style=\"padding-top: 0.4rem;\">Récurrent</label>
                </div>
            </div>
        </div>

        <div class=\"color-primary fw-600 mt-4 \">Jour de planification</div>
        <div class=\"border-top-grey  my-2\"></div>
        <div class=\"d-flex ps-4\">
            <div class=\"d-flex align-items-center\">
                <label  class=\"me-3\">Planifier</label>
                <select class=\"form-control w-auto planification me-3\" name=\"planifier_preference\">
                    <option value=\"Indifférent\" ";
        // line 49
        yield (((0 === CoreExtension::compare("Indifférent", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", true, true, false, 49)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", false, false, false, 49), "")) : (""))))) ? ("selected") : (""));
        yield ">Indifférent</option>
                    <option value=\"uniquement\" ";
        // line 50
        yield (((0 === CoreExtension::compare("uniquement", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", true, true, false, 50)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", false, false, false, 50), "")) : (""))))) ? ("selected") : (""));
        yield ">uniquement</option>
                    <option value=\"jamais\" ";
        // line 51
        yield (((0 === CoreExtension::compare("jamais", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", true, true, false, 51)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", false, false, false, 51), "")) : (""))))) ? ("selected") : (""));
        yield ">jamais</option>
                    <option value=\"de préférence\" ";
        // line 52
        yield (((0 === CoreExtension::compare("de préférence", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", true, true, false, 52)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPreference", [], "any", false, false, false, 52), "")) : (""))))) ? ("selected") : (""));
        yield ">de préférence</option>
                </select>
            </div>
            <div class=\"d-flex align-items-center\">
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Lundi' id=\"planifier_jour_lundi\" name=\"planifier_jour[]\" ";
        // line 57
        yield ((CoreExtension::inFilter("Lundi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 57)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 57), "")) : ("")))) ? ("checked") : (""));
        yield " type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_lundi\" style=\"padding-top: 0.4rem;\">Lundi</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Mardi' id=\"planifier_jour_mardi\" name=\"planifier_jour[]\" type=\"checkbox\" value=\"\" ";
        // line 61
        yield ((CoreExtension::inFilter("Mardi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 61)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 61), "")) : ("")))) ? ("checked") : (""));
        yield "  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_mardi\" style=\"padding-top: 0.4rem;\">Mardi</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Mercredi' id=\"planifier_jour_mercredi\" name=\"planifier_jour[]\" type=\"checkbox\" value=\"\" ";
        // line 65
        yield ((CoreExtension::inFilter("Mercredi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 65)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 65), "")) : ("")))) ? ("checked") : (""));
        yield " style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_mercredi\" style=\"padding-top: 0.4rem;\">Mercredi</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Jeudi' id=\"planifier_jour_Jeudi\" name=\"planifier_jour[]\" type=\"checkbox\" value=\"\" ";
        // line 69
        yield ((CoreExtension::inFilter("Jeudi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 69)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 69), "")) : ("")))) ? ("checked") : (""));
        yield " style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_Jeudi\" style=\"padding-top: 0.4rem;\">Jeudi</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Vendredi' id=\"planifier_jour_Vendredi\" name=\"planifier_jour[]\" type=\"checkbox\" value=\"\" ";
        // line 73
        yield ((CoreExtension::inFilter("Vendredi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", true, true, false, 73)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierJour", [], "any", false, false, false, 73), "")) : ("")))) ? ("checked") : (""));
        yield " style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_Vendredi\" style=\"padding-top: 0.4rem;\">Vendredi</label>
                </div>
            </div>
        </div>

        <div class=\"color-primary fw-600 mt-3 \">Moment de la journée</div>
        <div class=\"border-top-grey  my-2\"></div>
        <div class=\"d-flex ps-4\">
            <div class=\"d-flex align-items-center\">
                <label  class=\"me-3\">Planifier</label>
                <select class=\"form-control me-2 w-auto planification me-3\" name=\"planifier_partie_journee\" style=\"width:104px!important\">
                    <option value=\"Indifférent\" ";
        // line 85
        yield (((0 === CoreExtension::compare("Indifférent", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", true, true, false, 85)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", false, false, false, 85), "")) : (""))))) ? ("selected") : (""));
        yield ">Indifférent</option>
                    <option value=\"Matin\" ";
        // line 86
        yield (((0 === CoreExtension::compare("Matin", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", true, true, false, 86)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", false, false, false, 86), "")) : (""))))) ? ("selected") : (""));
        yield ">Matin
                    <option value=\"Après midi\" ";
        // line 87
        yield (((0 === CoreExtension::compare("Après midi", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", true, true, false, 87)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierPartieJournee", [], "any", false, false, false, 87), "")) : (""))))) ? ("selected") : (""));
        yield ">Après midi</option>
                </select>
            </div>
            <div class=\"form-check\" style=\"margin-right:1rem;\">
                <input class=\"form-check-input\"  value='oui' id=\"premiere_visite\" ";
        // line 91
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 91, $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.', 91, $this->source); })()), "getPremiereVisite", [], "any", false, false, false, 91))) ? ("checked") : (""));
        yield " name=\"premiere_visite\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                <label class=\"form-check-label  \" for=\"premiere_visite\" style=\"padding-top: 0.4rem;\">Première visite </label>
            </div>
            <!-- à gérer selon planning -->
            ";
        // line 95
        if (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.', 95, $this->source); })()), "getSite", [], "any", false, false, false, 95), "UsePlageHoraire", [], "any", false, false, false, 95)) {
            // line 96
            yield "            <div class=\"color-grey-dark align-self-center me-3\">-ou-</div>
            <div class=\"d-flex align-items-center\">
                <label  class=\"me-3\">Plage horaire</label>
                <select class=\"form-control me-2 w-auto \" name=\"planifier_plage_horaire\" >
                    <option value=\"\" ";
            // line 100
            yield (((0 === CoreExtension::compare("", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getHorairePassage", [], "any", true, true, false, 100)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getHorairePassage", [], "any", false, false, false, 100), "")) : (""))))) ? ("selected") : (""));
            yield "></option>
                    ";
            // line 101
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(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.', 101, $this->source); })()), "getSite", [], "any", false, false, false, 101), "getHorairePassage", [], "any", false, false, false, 101));
            foreach ($context['_seq'] as $context["_key"] => $context["horaire"]) {
                // line 102
                yield "                    <option value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["horaire"], "id", [], "any", false, false, false, 102), "html", null, true);
                yield "\" ";
                yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["horaire"], "id", [], "any", false, false, false, 102), ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getHorairePassage", [], "any", false, true, false, 102), "id", [], "any", true, true, false, 102)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getHorairePassage", [], "any", false, true, false, 102), "id", [], "any", false, false, false, 102), "")) : (""))))) ? ("selected") : (""));
                yield ">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["horaire"], "getLisibleHoraires", [], "any", false, false, false, 102), "html", null, true);
                yield "</option>
                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['horaire'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 104
            yield "                </select>
            </div>
            ";
        }
        // line 107
        yield "        </div>
        <div class=\"color-primary fw-600 mt-3 \">Agent</div>
        <div class=\"border-top-grey  my-2\"></div>
        <div class=\"d-flex ps-4 flex-column\">
            <div class=\"d-flex align-items-center\">
                ";
        // line 112
        if ((isset($context["secteur"]) || array_key_exists("secteur", $context) ? $context["secteur"] : (function () { throw new RuntimeError('Variable "secteur" does not exist.', 112, $this->source); })())) {
            // line 113
            yield "                <label  class=\"me-3\">Planifier</label>
                <select class=\"form-control w-auto \" name=\"planifier_agent\">
                    <option value=\"Indifférent\" ";
            // line 115
            yield (((0 === CoreExtension::compare("Indifférent", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAgent", [], "any", true, true, false, 115)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAgent", [], "any", false, false, false, 115), "")) : (""))))) ? ("selected") : (""));
            yield ">Indifférent</option>
                    <option value=\"uniquement\" ";
            // line 116
            yield (((0 === CoreExtension::compare("uniquement", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAgent", [], "any", true, true, false, 116)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAgent", [], "any", false, false, false, 116), "")) : (""))))) ? ("selected") : (""));
            yield ">uniquement</option>
                    <option value=\"jamais\" ";
            // line 117
            yield (((0 === CoreExtension::compare("jamais", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAgent", [], "any", true, true, false, 117)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAgent", [], "any", false, false, false, 117), "")) : (""))))) ? ("selected") : (""));
            yield ">jamais</option>
                    <option value=\"de préférence\" ";
            // line 118
            yield (((0 === CoreExtension::compare("de préférence", ((CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAgent", [], "any", true, true, false, 118)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["planification"] ?? null), "getPlanifierAgent", [], "any", false, false, false, 118), "")) : (""))))) ? ("selected") : (""));
            yield ">de préférence</option>
                </select>
                <select class=\"form-control w-auto ms-2 \" name=\"preference_agent\">
                    <option value=\"\"></option>
                        ";
            // line 122
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["secteur"]) || array_key_exists("secteur", $context) ? $context["secteur"] : (function () { throw new RuntimeError('Variable "secteur" does not exist.', 122, $this->source); })()), "agentSecteurs", [], "any", false, false, false, 122));
            foreach ($context['_seq'] as $context["_key"] => $context["agentSecteur"]) {
                // line 123
                yield "                            ";
                $context["utilisateurAgent"] = CoreExtension::getAttribute($this->env, $this->source, $context["agentSecteur"], "utilisateurAgent", [], "any", false, false, false, 123);
                // line 124
                yield "                            <option value=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["utilisateurAgent"]) || array_key_exists("utilisateurAgent", $context) ? $context["utilisateurAgent"] : (function () { throw new RuntimeError('Variable "utilisateurAgent" does not exist.', 124, $this->source); })()), "id", [], "any", false, false, false, 124), "html", null, true);
                yield "\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["utilisateurAgent"]) || array_key_exists("utilisateurAgent", $context) ? $context["utilisateurAgent"] : (function () { throw new RuntimeError('Variable "utilisateurAgent" does not exist.', 124, $this->source); })()), "getNomPrenom", [], "any", false, false, false, 124), "html", null, true);
                yield "</option>
                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['agentSecteur'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 126
            yield "                </select>
                ";
        }
        // line 128
        yield "            </div>
            <div class=\"d-flex\">
                <div class=\"form-check\" style=\"margin-right:1rem;\">
                    <input class=\"form-check-input\"  value='oui' id=\"envoyer_2_agents\" name=\"envoyer_2_agents\" ";
        // line 131
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 131, $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.', 131, $this->source); })()), "getEnvoyer2Agents", [], "any", false, false, false, 131))) ? ("checked") : (""));
        yield " type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"envoyer_2_agents\" style=\"padding-top: 0.4rem;\">Toujours envoyer 2 agents</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:1rem;\">
                    <input class=\"form-check-input\"  value='oui' id=\"envoyer_rts\" name=\"envoyer_rts\" ";
        // line 135
        yield ((((isset($context["planification"]) || array_key_exists("planification", $context) ? $context["planification"] : (function () { throw new RuntimeError('Variable "planification" does not exist.', 135, $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.', 135, $this->source); })()), "getEnvoyerRts", [], "any", false, false, false, 135))) ? ("checked") : (""));
        yield " type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"envoyer_rts\" style=\"padding-top: 0.4rem;\">Toujours envoyer le RTS</label>
                </div>
            </div>
        </div>
        <div class=\"form-group  mt-4\" >
            <div class=\"form-actions-row w-100 d-flex justify-content-center\">
                <button  class=\"btn btn-outline-danger btn-close-popup me-2\"  data-dxpopup-id=\"popup_pref_planification\" type=\"button\" style=\"min-width:100px;margin: 0 auto\" >Fermer</button>
                <button  class=\"btn btn-outline-success me-3 \" id=\"save-pref-planification\" type=\"submit\" style=\"min-width:100px\">Valider</button>
                <button class=\"btn btn-outline-danger ms-auto\" id=\"reset-preferences\" style=\"min-width: 41px;height:34px;\"><i class=\"fa fa-undo\"></i></button>
            </div>
        </div>
    </form>
</div>";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  328 => 135,  321 => 131,  316 => 128,  312 => 126,  301 => 124,  298 => 123,  294 => 122,  287 => 118,  283 => 117,  279 => 116,  275 => 115,  271 => 113,  269 => 112,  262 => 107,  257 => 104,  244 => 102,  240 => 101,  236 => 100,  230 => 96,  228 => 95,  221 => 91,  214 => 87,  210 => 86,  206 => 85,  191 => 73,  184 => 69,  177 => 65,  170 => 61,  163 => 57,  155 => 52,  151 => 51,  147 => 50,  143 => 49,  128 => 37,  119 => 35,  110 => 29,  101 => 27,  91 => 20,  83 => 15,  71 => 12,  61 => 11,  51 => 4,  48 => 3,  46 => 2,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% set planification = equipement.getEquipementPreferencesPlanification %}
{% set secteur = equipement.getSecteur %}
<div id=\"popup_pref_planification\" style=\"display: none;\">
    <form  class=\"form  mt-0 px-2 \" id=\"form-preferences-planification\" action=\"{{ path('equipement_maj_preferences_planification', {'id': equipement.id}) }}\" method=\"post\" style=\"width:630px\" >
        <div class=\"color-primary fw-600\">Dates</div>
        <div class=\"border-top-grey  my-2\"></div>
        <div class=\"d-flex ps-4 flex-column\">
            <div class=\"d-flex\">
                <div class=\"d-flex align-items-center me-3\" >
                    <label style=\"margin-right: 1rem\">Planifier entre le</label>
                    <input type=\"text\" style=\"width:115px;font-size:13px;\" data-format=\"{{ planification and planification.getInclusionRecurrente ? 'dd MM' : 'dd/mm/yy'}}\" class=\"form-control input-datepicker pref_entre_debut\"  id=\"planification_entre_debut\"  data-min=\"{{ planification and not planification.getDateEntreDebut and planification.getDateAPartirDu ? planification.getDateAPartirDu|date('d/m/Y')  : ''  }}\" data-max=\"{{  planification and  planification.getDateEntreFin? planification.getDateEntreFin|date('d/m/Y')  : ''  }}\"  name=\"date_entre_debut\"   class=\"form-control bg-grey px-0 pref_entre_debut planification \" value=\"{{planification and planification.getDateEntreDebut ?  (planification.getInclusionRecurrente ? planification.getDateEntreDebut|format_datetime(locale='fr',pattern=\"dd MMMM\") : planification.getDateEntreDebut|date('d/m/Y'))  : '' }}\" >
                    &nbsp;et le &nbsp; <input type=\"text\"  style=\"width:115px;font-size:13px;\" data-format=\"{{ planification and planification.getInclusionRecurrente ? 'dd MM' : 'dd/mm/yy'}}\" class=\"form-control input-datepicker pref_entre_fin\" id=\"planification_entre_fin\"  data-max=\"{{ planification and not planification.getDateEntreFin and planification.getDateAvantLe ? planification.getDateAvantLe|date('d/m/Y')  : ''  }}\" data-min=\"{{ planification and planification.getDateEntreDebut  ? planification.getDateEntreDebut|date('d/m/Y')  : ''  }}\"   name=\"date_entre_fin\"  class=\"form-control bg-grey px-0 pref_entre_fin planification \" value=\"{{planification and planification.getDateEntreFin ?  (planification.getInclusionRecurrente ? planification.getDateEntreFin|format_datetime(locale='fr',pattern=\"dd MMMM\") : planification.getDateEntreFin|date('d/m/Y')) : '' }}\" >
                </div>
                <div class=\"form-check\" style=\"margin-right:2.5rem;\">
                    <input class=\"form-check-input input_recurrente\"  value='oui' id=\"inclusion_recurrente\"  {{  planification and planification.getInclusionRecurrente ? 'checked' : '' }} name=\"inclusion_recurrente\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"inclusion_recurrente\" style=\"padding-top: 0.4rem;\">Dates récurrentes</label>
                </div>
            </div>
            <div class=\"form-check mb-4\" style=\"margin-right:1rem;\">
                <input class=\"form-check-input\"  value='oui'  {{  planification and planification.getUniquementScolaire ? 'checked' : '' }} name=\"uniquement_scolaire\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                <label class=\"form-check-label me-1 \" for=\"uniquement_scolaiuniquement_scolairere\" style=\"padding-top: 0.4rem;\">Planifier uniquement pendant les vacances scolaires</label>
            </div>
        </div>
        <div class=\"ps-4\">
            <div class=\"d-flex align-items-center me-3 mb-3\">
                <label class=\"me-3\"> Planifier avant le</label>
                <input type=\"text\" style=\"width:115px;font-size:13px;\" data-format=\"{{ planification and planification.getAvantRecurrente ? 'dd MM' : 'dd/mm/yy'}}\" class=\"form-control input-datepicker pref_avant_le\"  id=\"date_avant_le\" data-max=\"{{ planification and planification.getDateEntreFin ? planification.getDateEntreFin|date('d/m/Y') :  planification and planification.getDateAPartirDu ? planification.getDateAPartirDu|date('d/m/Y') : ''  }}\"  name=\"date_avant_le\"  class=\"form-control bg-grey px-0 pref_avant_le planification\" value=\"{{planification and planification.getDateAvantLe ? (planification.getAvantRecurrente ? planification.getDateAvantLe|format_datetime(locale='fr',pattern=\"dd MMMM\") : planification.getDateAvantLe|date('d/m/Y')) : '' }}\" >
                <div class=\"form-check ms-3\" style=\"margin-right:2.5rem;\">
                    <input class=\"form-check-input\"  value='oui' id=\"avant_recurrente\" {{  planification and planification.getAvantRecurrente ? 'checked' : '' }}  name=\"avant_recurrente\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"avant_recurrente\" style=\"padding-top: 0.4rem;\">Récurrent</label>
                </div>
            </div>
            <div class=\"d-flex align-items-center me-3\">
                <label class=\"me-3\">Planifier après le</label>
                <input type=\"text\" style=\"width:115px;font-size:13px;\" data-format=\"{{ planification and planification.getApresRecurrente ? 'dd MM' : 'dd/mm/yy'}}\"  class=\"form-control input-datepicker pref_a_partir_du\"  id=\"date_apres_le\" data-min=\"{{ planification and planification.getDateEntreDebut ? planification.getDateEntreDebut|date('d/m/Y') : planification and planification.getDateAvantLe ? planification.getDateAvantLe|date('d/m/Y') : ''  }}\" name=\"date_a_partir_du\" class=\"form-control bg-grey px-0 pref_a_partir_du planification\" value=\"{{planification and planification.getDateAPartirDu ? (planification.getApresRecurrente ? planification.getDateAPartirDu|format_datetime(locale='fr',pattern=\"dd MMMM\") : planification.getDateAPartirDu|date('d/m/Y'))  :  '' }}\">
                <div class=\"form-check ms-3\" style=\"margin-right:2.5rem;\">
                    <input class=\"form-check-input\"  value='oui' id=\"apres_recurrente\" {{  planification and planification.getApresRecurrente ? 'checked' : '' }}  name=\"apres_recurrente\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"apres_recurrente\" style=\"padding-top: 0.4rem;\">Récurrent</label>
                </div>
            </div>
        </div>

        <div class=\"color-primary fw-600 mt-4 \">Jour de planification</div>
        <div class=\"border-top-grey  my-2\"></div>
        <div class=\"d-flex ps-4\">
            <div class=\"d-flex align-items-center\">
                <label  class=\"me-3\">Planifier</label>
                <select class=\"form-control w-auto planification me-3\" name=\"planifier_preference\">
                    <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\">
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Lundi' id=\"planifier_jour_lundi\" name=\"planifier_jour[]\" {{ 'Lundi' in planification.getPlanifierJour|default('') ? 'checked' : '' }} type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_lundi\" style=\"padding-top: 0.4rem;\">Lundi</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Mardi' id=\"planifier_jour_mardi\" name=\"planifier_jour[]\" type=\"checkbox\" value=\"\" {{ 'Mardi' in planification.getPlanifierJour|default('') ? 'checked' : '' }}  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_mardi\" style=\"padding-top: 0.4rem;\">Mardi</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Mercredi' id=\"planifier_jour_mercredi\" name=\"planifier_jour[]\" type=\"checkbox\" value=\"\" {{ 'Mercredi' in planification.getPlanifierJour|default('') ? 'checked' : '' }} style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_mercredi\" style=\"padding-top: 0.4rem;\">Mercredi</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Jeudi' id=\"planifier_jour_Jeudi\" name=\"planifier_jour[]\" type=\"checkbox\" value=\"\" {{ 'Jeudi' in planification.getPlanifierJour|default('') ? 'checked' : '' }} style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_Jeudi\" style=\"padding-top: 0.4rem;\">Jeudi</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:0.5rem;\">
                    <input class=\"form-check-input\"  value='Vendredi' id=\"planifier_jour_Vendredi\" name=\"planifier_jour[]\" type=\"checkbox\" value=\"\" {{ 'Vendredi' in planification.getPlanifierJour|default('') ? 'checked' : '' }} style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"planifier_jour_Vendredi\" style=\"padding-top: 0.4rem;\">Vendredi</label>
                </div>
            </div>
        </div>

        <div class=\"color-primary fw-600 mt-3 \">Moment de la journée</div>
        <div class=\"border-top-grey  my-2\"></div>
        <div class=\"d-flex ps-4\">
            <div class=\"d-flex align-items-center\">
                <label  class=\"me-3\">Planifier</label>
                <select class=\"form-control me-2 w-auto planification me-3\" name=\"planifier_partie_journee\" style=\"width:104px!important\">
                    <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>
            </div>
            <div class=\"form-check\" style=\"margin-right:1rem;\">
                <input class=\"form-check-input\"  value='oui' id=\"premiere_visite\" {{  planification and planification.getPremiereVisite ? 'checked' : '' }} name=\"premiere_visite\" type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                <label class=\"form-check-label  \" for=\"premiere_visite\" style=\"padding-top: 0.4rem;\">Première visite </label>
            </div>
            <!-- à gérer selon planning -->
            {% if equipement.getSite.UsePlageHoraire %}
            <div class=\"color-grey-dark align-self-center me-3\">-ou-</div>
            <div class=\"d-flex align-items-center\">
                <label  class=\"me-3\">Plage horaire</label>
                <select class=\"form-control me-2 w-auto \" name=\"planifier_plage_horaire\" >
                    <option value=\"\" {{ '' ==  planification.getHorairePassage|default('') ? 'selected' : '' }}></option>
                    {% for horaire in equipement.getSite.getHorairePassage %}
                    <option value=\"{{ horaire.id }}\" {{ horaire.id ==  planification.getHorairePassage.id|default('') ? 'selected' : '' }}>{{ horaire.getLisibleHoraires }}</option>
                    {% endfor %}
                </select>
            </div>
            {% endif %}
        </div>
        <div class=\"color-primary fw-600 mt-3 \">Agent</div>
        <div class=\"border-top-grey  my-2\"></div>
        <div class=\"d-flex ps-4 flex-column\">
            <div class=\"d-flex align-items-center\">
                {% if secteur %}
                <label  class=\"me-3\">Planifier</label>
                <select class=\"form-control w-auto \" name=\"planifier_agent\">
                    <option value=\"Indifférent\" {{ 'Indifférent' ==  planification.getPlanifierAgent|default('') ? 'selected' : '' }}>Indifférent</option>
                    <option value=\"uniquement\" {{ 'uniquement' ==  planification.getPlanifierAgent|default('') ? 'selected' : '' }}>uniquement</option>
                    <option value=\"jamais\" {{ 'jamais' ==  planification.getPlanifierAgent|default('') ? 'selected' : '' }}>jamais</option>
                    <option value=\"de préférence\" {{ 'de préférence' ==  planification.getPlanifierAgent|default('') ? 'selected' : '' }}>de préférence</option>
                </select>
                <select class=\"form-control w-auto ms-2 \" name=\"preference_agent\">
                    <option value=\"\"></option>
                        {% for agentSecteur in secteur.agentSecteurs %}
                            {% set utilisateurAgent = agentSecteur.utilisateurAgent %}
                            <option value=\"{{ utilisateurAgent.id }}\">{{ utilisateurAgent.getNomPrenom }}</option>
                        {% endfor %}
                </select>
                {% endif %}
            </div>
            <div class=\"d-flex\">
                <div class=\"form-check\" style=\"margin-right:1rem;\">
                    <input class=\"form-check-input\"  value='oui' id=\"envoyer_2_agents\" name=\"envoyer_2_agents\" {{  planification and planification.getEnvoyer2Agents ? 'checked' : '' }} type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"envoyer_2_agents\" style=\"padding-top: 0.4rem;\">Toujours envoyer 2 agents</label>
                </div>
                <div class=\"form-check\" style=\"margin-right:1rem;\">
                    <input class=\"form-check-input\"  value='oui' id=\"envoyer_rts\" name=\"envoyer_rts\" {{  planification and planification.getEnvoyerRts ? 'checked' : '' }} type=\"checkbox\" value=\"\"  style=\"margin-top:0.6rem;\">
                    <label class=\"form-check-label me-1 \" for=\"envoyer_rts\" style=\"padding-top: 0.4rem;\">Toujours envoyer le RTS</label>
                </div>
            </div>
        </div>
        <div class=\"form-group  mt-4\" >
            <div class=\"form-actions-row w-100 d-flex justify-content-center\">
                <button  class=\"btn btn-outline-danger btn-close-popup me-2\"  data-dxpopup-id=\"popup_pref_planification\" type=\"button\" style=\"min-width:100px;margin: 0 auto\" >Fermer</button>
                <button  class=\"btn btn-outline-success me-3 \" id=\"save-pref-planification\" type=\"submit\" style=\"min-width:100px\">Valider</button>
                <button class=\"btn btn-outline-danger ms-auto\" id=\"reset-preferences\" style=\"min-width: 41px;height:34px;\"><i class=\"fa fa-undo\"></i></button>
            </div>
        </div>
    </form>
</div>", "clients/_popup_pref_planification.html.twig", "/builds/dev/refonte_sav/templates/clients/_popup_pref_planification.html.twig");
    }
}
