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

/* map/_tab_cas.html.twig */
class __TwigTemplate_fe74873c33a350c1243d52bc51eb7950c55acb70d1a5852304cc68f687ae7f2b 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", "map/_tab_cas.html.twig"));

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

        // line 1
        yield "<ul class=\"nav nav-tabs\" role=\"tablist\" id=\"content-tab\" data-tabs=\"tabs\">
    <li class=\"nav-item\" role=\"presentation\">
        <button class=\"nav-link active\" id=\"1-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#tab-1\" type=\"button\" role=\"tab\"  aria-selected=\"true\">Recherche</button>
    </li>

    <li class=\"nav-item\" role=\"presentation\">
        <button class=\"nav-link\" id=\"2-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#tab-2\" type=\"button\" role=\"tab\"  aria-selected=\"true\">Secteur</button>
    </li>
</ul>
<div class=\"tab-content bg-primary mb-2\" id=\"myTabContent\">
    <div class=\"tab-pane fade show active\" id=\"tab-1\" role=\"tabpanel\" aria-labelledby=\"1-tab\">

        <div class=\"d-flex bg-grey\">
            <form id=\"form_cas\" method=\"post\" style=\"height: 97px;width: 100%;\" class=\"w-100 form form-ajax\" data-no-reset=\"no\" action=\"";
        // line 14
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("search_cas");
        yield "\">
                <input type=\"hidden\" name=\"process\" id=\"process_update\" value=\"\" form=\"form_cas\">
                <div class=\"d-flex bg-white col-sm-12\" style=\"z-index: 1000;\">
                    <div class=\"d-flex bg-primary pt-2 ps-2 pb-2 justify-content-center\" style=\"flex-grow:1;\">
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"site\" style=\"width:48px;\">Site</label>
                                        <select name=\"site\" style=\"width:128px\" class=\"form-control bg-grey\" form=\"form_cas\">
                                            ";
        // line 25
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable((isset($context["sites"]) || array_key_exists("sites", $context) ? $context["sites"] : (function () { throw new RuntimeError('Variable "sites" does not exist.', 25, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["site"]) {
            // line 26
            yield "                                                <option value=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["site"], "getId", [], "any", false, false, false, 26), "html", null, true);
            yield "\">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["site"], "getNom", [], "any", false, false, false, 26), "html", null, true);
            yield "</option>
                                            ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['site'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 28
        yield "                                        </select>
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex\" id=\"target-cas_groupe\">
                                        ";
        // line 31
        yield Twig\Extension\CoreExtension::include($this->env, $context, "map/_select_cas_groupe.html.twig");
        yield "
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <div class=\"input-group form-group pb-2 d-flex\" id=\"target-cas_agent\">
                                        ";
        // line 41
        yield Twig\Extension\CoreExtension::include($this->env, $context, "map/_select_cas_agent.html.twig");
        yield "
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex align-items-center\" style=\"height: 36px;\">
                                        <input type=\"checkbox\" id=\"check_qualif\" name=\"check_qualif\" form=\"form_cas\"/>
                                        <label class=\"white ms-2 control-label align-self-center\" for=\"check_qualif\">Qualifications du technicien</label>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"date_cas\" style=\"width:55px;\">Date</label>
                                        <input type=\"date\" name=\"date_cas\" id=\"date_cas\" class=\"form-control bg-grey\" value=\"";
        // line 56
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y-m-d"), "html", null, true);
        yield "\">
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"site\" style=\"width:55px;\">N° Client</label>
                                        <input type=\"text\" id=\"cas_num_client\" name=\"num_client\" class=\"form-control bg-white\" style=\"width:128px\" >
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <div class=\"input-group form-group pb-2 d-flex\" id=\"target-cas_intervention\">
                                        ";
        // line 70
        yield Twig\Extension\CoreExtension::include($this->env, $context, "map/_select_cas_intervention.html.twig");
        yield "
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"site\" style=\"width:70px;\">Adresse</label>
";
        // line 75
        yield "
                                        <input type=\"text\" id=\"cas_adresse_auto\" name=\"cas_adresse_auto\" class=\"form-control bg-white\" style=\"width:400px\" >
                                        <div class=\"adresse_auto_error\" style=\"display: none;height:30px;margin-bottom:0\"></div>
                                        <input type=\"hidden\" name=\"code_postal\" form=\"form_cas\" value=\"\">
                                        <input type=\"hidden\" name=\"ville\" form=\"form_cas\" value=\"\">
                                        <input type=\"hidden\" name=\"adresse\" form=\"form_cas\" value=\"\">
                                        <input type=\"hidden\" name=\"coordinates\" form=\"form_cas\" value=\"\">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;line-height: 14px;\">
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"rayon\" style=\"width:55px;\">Rayon de recherche</label>
                                        <select name=\"rayon\" style=\"width:128px\" class=\"form-control bg-grey\" form=\"form_cas\">
                                            <option value=\"0.5\">500m</option>
                                            <option value=\"1\">1km</option>
                                            <option value=\"2\">2km</option>
                                            <option value=\"3\" selected>3km</option>
                                            <option value=\"4\">4km</option>
                                            <option value=\"5\">5km</option>
                                            <option value=\"10\">10km</option>
                                            <option value=\"20\">20km</option>
                                            <option value=\"30\">30km</option>
                                            <option value=\"50\">50km</option>
                                            <option value=\"80\">80km</option>
                                        </select>
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"tri\" style=\"width:55px;\">Tri par</label>
                                        <select name=\"tri\" style=\"width:128px\" class=\"form-control bg-grey\" form=\"form_cas\">
                                            <option value=\"fin_contrat\" selected>Date de fin de contrat</option>
                                            <option value=\"distance\">Distance</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-left: 2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <button id=\"submit-form-cas\" class=\"btn bg-vert-vert w-100 \" style=\"width: 193px !important;\" form=\"form_cas\">
                                        Rechercher
                                    </button>
                                    <button class=\"btn bg-rouge-rouge w-100\" style=\"width:193px !important\" type=\"reset\" id=\"reset-form-cas\">
                                        Effacer
                                    </button>

                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </form>
        </div>
    </div>
    <div class=\"tab-pane fade show \" id=\"tab-2\" role=\"tabpanel\" aria-labelledby=\"2-tab\">

        <div class=\"px-2 py-2 bg-white\">
        </div>
    </div>
</div>



";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  148 => 75,  141 => 70,  124 => 56,  106 => 41,  93 => 31,  88 => 28,  77 => 26,  73 => 25,  59 => 14,  44 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<ul class=\"nav nav-tabs\" role=\"tablist\" id=\"content-tab\" data-tabs=\"tabs\">
    <li class=\"nav-item\" role=\"presentation\">
        <button class=\"nav-link active\" id=\"1-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#tab-1\" type=\"button\" role=\"tab\"  aria-selected=\"true\">Recherche</button>
    </li>

    <li class=\"nav-item\" role=\"presentation\">
        <button class=\"nav-link\" id=\"2-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#tab-2\" type=\"button\" role=\"tab\"  aria-selected=\"true\">Secteur</button>
    </li>
</ul>
<div class=\"tab-content bg-primary mb-2\" id=\"myTabContent\">
    <div class=\"tab-pane fade show active\" id=\"tab-1\" role=\"tabpanel\" aria-labelledby=\"1-tab\">

        <div class=\"d-flex bg-grey\">
            <form id=\"form_cas\" method=\"post\" style=\"height: 97px;width: 100%;\" class=\"w-100 form form-ajax\" data-no-reset=\"no\" action=\"{{ path('search_cas') }}\">
                <input type=\"hidden\" name=\"process\" id=\"process_update\" value=\"\" form=\"form_cas\">
                <div class=\"d-flex bg-white col-sm-12\" style=\"z-index: 1000;\">
                    <div class=\"d-flex bg-primary pt-2 ps-2 pb-2 justify-content-center\" style=\"flex-grow:1;\">
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"site\" style=\"width:48px;\">Site</label>
                                        <select name=\"site\" style=\"width:128px\" class=\"form-control bg-grey\" form=\"form_cas\">
                                            {% for site in sites %}
                                                <option value=\"{{ site.getId }}\">{{ site.getNom }}</option>
                                            {% endfor %}
                                        </select>
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex\" id=\"target-cas_groupe\">
                                        {{ include('map/_select_cas_groupe.html.twig') }}
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <div class=\"input-group form-group pb-2 d-flex\" id=\"target-cas_agent\">
                                        {{ include('map/_select_cas_agent.html.twig') }}
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex align-items-center\" style=\"height: 36px;\">
                                        <input type=\"checkbox\" id=\"check_qualif\" name=\"check_qualif\" form=\"form_cas\"/>
                                        <label class=\"white ms-2 control-label align-self-center\" for=\"check_qualif\">Qualifications du technicien</label>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"date_cas\" style=\"width:55px;\">Date</label>
                                        <input type=\"date\" name=\"date_cas\" id=\"date_cas\" class=\"form-control bg-grey\" value=\"{{ 'now'|date('Y-m-d') }}\">
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"site\" style=\"width:55px;\">N° Client</label>
                                        <input type=\"text\" id=\"cas_num_client\" name=\"num_client\" class=\"form-control bg-white\" style=\"width:128px\" >
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <div class=\"input-group form-group pb-2 d-flex\" id=\"target-cas_intervention\">
                                        {{ include('map/_select_cas_intervention.html.twig') }}
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"site\" style=\"width:70px;\">Adresse</label>
{#                                        <input type=\"text\" id=\"cas_adresse\" name=\"adresse\" class=\"form-control bg-white\" style=\"width:400px\" >#}

                                        <input type=\"text\" id=\"cas_adresse_auto\" name=\"cas_adresse_auto\" class=\"form-control bg-white\" style=\"width:400px\" >
                                        <div class=\"adresse_auto_error\" style=\"display: none;height:30px;margin-bottom:0\"></div>
                                        <input type=\"hidden\" name=\"code_postal\" form=\"form_cas\" value=\"\">
                                        <input type=\"hidden\" name=\"ville\" form=\"form_cas\" value=\"\">
                                        <input type=\"hidden\" name=\"adresse\" form=\"form_cas\" value=\"\">
                                        <input type=\"hidden\" name=\"coordinates\" form=\"form_cas\" value=\"\">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-right:2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;line-height: 14px;\">
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"rayon\" style=\"width:55px;\">Rayon de recherche</label>
                                        <select name=\"rayon\" style=\"width:128px\" class=\"form-control bg-grey\" form=\"form_cas\">
                                            <option value=\"0.5\">500m</option>
                                            <option value=\"1\">1km</option>
                                            <option value=\"2\">2km</option>
                                            <option value=\"3\" selected>3km</option>
                                            <option value=\"4\">4km</option>
                                            <option value=\"5\">5km</option>
                                            <option value=\"10\">10km</option>
                                            <option value=\"20\">20km</option>
                                            <option value=\"30\">30km</option>
                                            <option value=\"50\">50km</option>
                                            <option value=\"80\">80km</option>
                                        </select>
                                    </div>
                                    <div class=\"input-group form-group pb-2 d-flex\">
                                        <label class=\"white me-2  control-label align-self-center\" for=\"tri\" style=\"width:55px;\">Tri par</label>
                                        <select name=\"tri\" style=\"width:128px\" class=\"form-control bg-grey\" form=\"form_cas\">
                                            <option value=\"fin_contrat\" selected>Date de fin de contrat</option>
                                            <option value=\"distance\">Distance</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class=\"px-2 color-primary h-100 d-flex flex-column align-items-center \">
                            <div class=\"d-flex flex-column justify-content-center w-100 h-100\"
                                 style=\"margin-left: 2rem;\">
                                <div class=\"d-flex flex-column align-items-center h-100\" style=\"gap:0.5rem;\">
                                    <button id=\"submit-form-cas\" class=\"btn bg-vert-vert w-100 \" style=\"width: 193px !important;\" form=\"form_cas\">
                                        Rechercher
                                    </button>
                                    <button class=\"btn bg-rouge-rouge w-100\" style=\"width:193px !important\" type=\"reset\" id=\"reset-form-cas\">
                                        Effacer
                                    </button>

                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </form>
        </div>
    </div>
    <div class=\"tab-pane fade show \" id=\"tab-2\" role=\"tabpanel\" aria-labelledby=\"2-tab\">

        <div class=\"px-2 py-2 bg-white\">
        </div>
    </div>
</div>



", "map/_tab_cas.html.twig", "/builds/dev/refonte_sav/templates/map/_tab_cas.html.twig");
    }
}
