<?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;
use Twig\TemplateWrapper;

/* statistiques/communes.html.twig */
class __TwigTemplate_34c6293acbc66e8b31ea1c33bd66511d extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'page_title' => [$this, 'block_page_title'],
            'page_content' => [$this, 'block_page_content'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "@AdminLTE/layout/suiodd-layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->load("@AdminLTE/layout/suiodd-layout.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 4
        yield "  Statistiques de renseignement des indicateurs des communes
";
        yield from [];
    }

    // line 8
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 9
        yield "
";
        // line 10
        yield from $this->load("statistiques/communes.html.twig", 10, 1413133206)->unwrap()->yield($context);
        // line 61
        yield "
";
        // line 62
        yield from $this->load("statistiques/communes.html.twig", 62, 1264659786)->unwrap()->yield($context);
        // line 115
        yield "
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "statistiques/communes.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  82 => 115,  80 => 62,  77 => 61,  75 => 10,  72 => 9,  65 => 8,  59 => 4,  52 => 3,  41 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "statistiques/communes.html.twig", "/var/www/html/templates/statistiques/communes.html.twig");
    }
}


/* statistiques/communes.html.twig */
class __TwigTemplate_34c6293acbc66e8b31ea1c33bd66511d___1413133206 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'box_title' => [$this, 'block_box_title'],
            'box_body' => [$this, 'block_box_body'],
            'box_footer' => [$this, 'block_box_footer'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 10
        return "@AdminLTE/Widgets/box-widget.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 10);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 11
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 12
        yield "        <h2 class=\"m-0 text-dark\" style=\"margin-bottom : 10px;\">
            Situation de validation des Points Focaux
        </h2>
    ";
        yield from [];
    }

    // line 16
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 17
        yield "        <div class=\"row\">
            <div class=\"col-xl-6 col-sm-6 col-6\">
                <div class=\"card\">
                <div class=\"card-body\">
                    <div class=\"d-flex justify-content-between px-md-1\">
                    <div class=\"align-self-center\">
                        <i class=\"fas fa-chart-line text-success fa-3x\"></i>
                    </div>
                    <div class=\"text-end\">
                        <h3>";
        // line 26
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["validepf"] ?? null), "html", null, true);
        yield "</h3>
                        <p class=\"mb-0\">points focaux ont soumis les données</p>
                    </div>
                    </div>
                </div>
                </div>
            </div>
            <div class=\"col-xl-6 col-sm-6 col-6\">
                <div class=\"card\">
                <div class=\"card-body\">
                    <div class=\"d-flex justify-content-between px-md-1\">
                    <div class=\"align-self-center\">
                        <i class=\"fas fa-map-marker-alt text-danger fa-3x\"></i>
                    </div>
                    <div class=\"text-end\">
                        <h3>";
        // line 41
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nonvalidepf"] ?? null), "html", null, true);
        yield "</h3>
                        <p class=\"mb-0\">point focaux n'ont pas soumis les données</p>
                    </div>
                    </div>
                </div>
                </div>
            </div>
            </div>
    ";
        yield from [];
    }

    // line 50
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_footer(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 51
        yield "        <h4>Liste des communes pour lesquelles les points focaux n'ont pas validé les données</h4>
        ";
        // line 52
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["communes"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["commune"]) {
            // line 53
            yield "            ";
            $context["structure"] = CoreExtension::getAttribute($this->env, $this->source, ($context["settingsManager"] ?? null), "getStructureYear", [CoreExtension::getAttribute($this->env, $this->source, ($context["year"] ?? null), "name", [], "any", false, false, false, 53), null, $context["commune"]], "method", false, false, false, 53);
            // line 54
            yield "            ";
            if (((($context["structure"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["structure"] ?? null), "focal2", [], "any", false, false, false, 54)) == false)) {
                // line 55
                yield "                <span  class=\"btn btn-sm btn-danger\" style=\"margin-bottom: 5px;\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["commune"], "name", [], "any", false, false, false, 55), "html", null, true);
                yield "</span>
            ";
            }
            // line 57
            yield "        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['commune'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 58
        yield "    ";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "statistiques/communes.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  251 => 58,  245 => 57,  239 => 55,  236 => 54,  233 => 53,  229 => 52,  226 => 51,  219 => 50,  205 => 41,  187 => 26,  176 => 17,  169 => 16,  161 => 12,  154 => 11,  143 => 10,  82 => 115,  80 => 62,  77 => 61,  75 => 10,  72 => 9,  65 => 8,  59 => 4,  52 => 3,  41 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "statistiques/communes.html.twig", "/var/www/html/templates/statistiques/communes.html.twig");
    }
}


/* statistiques/communes.html.twig */
class __TwigTemplate_34c6293acbc66e8b31ea1c33bd66511d___1264659786 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'box_title' => [$this, 'block_box_title'],
            'box_body' => [$this, 'block_box_body'],
            'box_footer' => [$this, 'block_box_footer'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 62
        return "@AdminLTE/Widgets/box-widget.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 62);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
    }

    // line 63
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 64
        yield "        <h2 class=\"m-0 text-dark\" style=\"margin-bottom : 10px;\">
            Situation de validation des SE
        </h2>
    ";
        yield from [];
    }

    // line 68
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 69
        yield "        <div class=\"row\">
            <div class=\"col-xl-6 col-sm-6 col-12\">
                <div class=\"card\">
                <div class=\"card-body\">
                    <div class=\"d-flex justify-content-between px-md-1\">
                    <div class=\"align-self-center\">
                        <i class=\"fas fa-pencil-alt text-info fa-3x\"></i>
                    </div>
                    <div class=\"text-end\">
                        <h3>";
        // line 78
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["validedpp"] ?? null), "html", null, true);
        yield "</h3>
                        <p class=\"mb-0\">SE ont validés les données</p>
                    </div>
                    </div>
                </div>
                </div>
            </div>
            <div class=\"col-xl-6 col-sm-6 col-12\">
                <div class=\"card\">
                <div class=\"card-body\">
                    <div class=\"d-flex justify-content-between px-md-1\">
                    <div class=\"align-self-center\">
                        <i class=\"far fa-comment-alt text-warning fa-3x\"></i>
                    </div>
                    <div class=\"text-end\">
                        <h3>";
        // line 93
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["nonvalidedpp"] ?? null), "html", null, true);
        yield "</h3>
                        <p class=\"mb-0\">SE n'ont pas validés les données</p>
                    </div>
                    </div>
                </div>
                </div>
            </div>
            
        </div>
    ";
        yield from [];
    }

    // line 104
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_footer(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 105
        yield "            <h4>Liste des communes pour lesquelles les SE n'ont pas validé les données</h4>
    ";
        // line 106
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["communes"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["commune"]) {
            // line 107
            yield "            ";
            $context["structure"] = CoreExtension::getAttribute($this->env, $this->source, ($context["settingsManager"] ?? null), "getStructureYear", [CoreExtension::getAttribute($this->env, $this->source, ($context["year"] ?? null), "name", [], "any", false, false, false, 107), null, $context["commune"]], "method", false, false, false, 107);
            // line 108
            yield "            ";
            if (((($context["structure"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["structure"] ?? null), "dpp2", [], "any", false, false, false, 108)) == false)) {
                // line 109
                yield "                <span  class=\"btn btn-sm btn-danger\" style=\"margin-bottom: 5px;\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["commune"], "name", [], "any", false, false, false, 109), "html", null, true);
                yield "</span>
            ";
            }
            // line 111
            yield "        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['commune'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 112
        yield "    ";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "statistiques/communes.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  420 => 112,  414 => 111,  408 => 109,  405 => 108,  402 => 107,  398 => 106,  395 => 105,  388 => 104,  373 => 93,  355 => 78,  344 => 69,  337 => 68,  329 => 64,  322 => 63,  311 => 62,  251 => 58,  245 => 57,  239 => 55,  236 => 54,  233 => 53,  229 => 52,  226 => 51,  219 => 50,  205 => 41,  187 => 26,  176 => 17,  169 => 16,  161 => 12,  154 => 11,  143 => 10,  82 => 115,  80 => 62,  77 => 61,  75 => 10,  72 => 9,  65 => 8,  59 => 4,  52 => 3,  41 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "statistiques/communes.html.twig", "/var/www/html/templates/statistiques/communes.html.twig");
    }
}
