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

/* suivi_ind/output_indice.html.twig */
class __TwigTemplate_0a38cf63bb11cdf492b4dc5b2477c6c3 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'],
            'javascripts' => [$this, 'block_javascripts'],
            'stylesheets' => [$this, 'block_stylesheets'],
        ];
    }

    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;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "suivi_ind/output_indice.html.twig"));

        $this->parent = $this->load("@AdminLTE/layout/suiodd-layout.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));

        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("output.indice.title", [], "messages");
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 6
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_content"));

        // line 7
        yield "    ";
        yield from $this->load("suivi_ind/output_indice.html.twig", 7, "503255045")->unwrap()->yield($context);
        // line 41
        yield "
    ";
        // line 42
        if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 42, $this->source); })()), "rows", [], "array", false, false, false, 42)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 43
            yield "        <label class=\"col-form-label\">Mode de calcul sélectionné : Moyenne ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["settingsManager"]) || array_key_exists("settingsManager", $context) ? $context["settingsManager"] : (function () { throw new RuntimeError('Variable "settingsManager" does not exist.', 43, $this->source); })()), "getYear", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 43, $this->source); })()), "session", [], "any", false, false, false, 43), "get", ["_year"], "method", false, false, false, 43)], "method", false, false, false, 43), "moyenne", [], "any", false, false, false, 43), "html", null, true);
            yield " </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                ";
            // line 46
            yield from $this->load("suivi_ind/output_indice.html.twig", 46, "314794945")->unwrap()->yield(CoreExtension::merge($context, ["color" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,             // line 47
(isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 47, $this->source); })()), "header", [], "array", false, false, false, 47), "statut", [], "array", false, false, false, 47), "icon" => "fas fa-map-signs"]));
            // line 65
            yield "            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                ";
            // line 67
            yield from $this->load("suivi_ind/output_indice.html.twig", 67, "1392558264")->unwrap()->yield(CoreExtension::merge($context, ["color" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,             // line 68
(isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 68, $this->source); })()), "header", [], "array", false, false, false, 68), "statut", [], "array", false, false, false, 68), "icon" => "fas fa-chart-line"]));
            // line 82
            yield "            </div>
        </div>

        
        ";
            // line 86
            yield from $this->load("suivi_ind/output_indice.html.twig", 86, "808393304")->unwrap()->yield($context);
            // line 167
            yield "
    ";
        }
        // line 169
        yield "



";
        // line 173
        if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 174
            yield "    ";
            if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 174, $this->source); })()), "rows", [], "array", false, false, false, 174)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 175
                yield "        <label class=\"col-form-label\">Indice global </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                ";
                // line 178
                yield from $this->load("suivi_ind/output_indice.html.twig", 178, "518786934")->unwrap()->yield(CoreExtension::merge($context, ["color" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,                 // line 179
(isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 179, $this->source); })()), "header", [], "array", false, false, false, 179), "statut", [], "array", false, false, false, 179), "icon" => "fas fa-map-signs"]));
                // line 193
                yield "            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                ";
                // line 195
                yield from $this->load("suivi_ind/output_indice.html.twig", 195, "388728287")->unwrap()->yield(CoreExtension::merge($context, ["color" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,                 // line 196
(isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 196, $this->source); })()), "header", [], "array", false, false, false, 196), "statut", [], "array", false, false, false, 196), "icon" => "fas fa-chart-line"]));
                // line 210
                yield "            </div>
        </div>

        
        ";
                // line 214
                yield from $this->load("suivi_ind/output_indice.html.twig", 214, "591631023")->unwrap()->yield($context);
                // line 283
                yield "
    ";
            }
        }
        // line 286
        yield "

";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 290
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_javascripts(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));

        // line 291
        yield "    <script>
        \$(function () {
            \$(\"#outputMinistryTable\").DataTable({
                \"searching\": false,
                \"pageLength\": 25,
                \"lengthChange\": false
            });
        });
    </script>

    <script src=\"";
        // line 301
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("plugins/datatables/jquery.dataTables.js"), "html", null, true);
        yield "\"></script>
    <script src=\"";
        // line 302
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("plugins/datatables-bs4/js/dataTables.bootstrap4.js"), "html", null, true);
        yield "\"></script>
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 305
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_stylesheets(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));

        // line 306
        yield "    <link rel=\"stylesheet\" href=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("plugins/datatables-bs4/css/dataTables.bootstrap4.css"), "html", null, true);
        yield "\">
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  219 => 306,  209 => 305,  199 => 302,  195 => 301,  183 => 291,  173 => 290,  163 => 286,  158 => 283,  156 => 214,  150 => 210,  148 => 196,  147 => 195,  143 => 193,  141 => 179,  140 => 178,  135 => 175,  132 => 174,  130 => 173,  124 => 169,  120 => 167,  118 => 86,  112 => 82,  110 => 68,  109 => 67,  105 => 65,  103 => 47,  102 => 46,  95 => 43,  93 => 42,  90 => 41,  87 => 7,  77 => 6,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/suiodd-layout.html.twig' %}

{% block page_title %}{% trans %}output.indice.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.goal{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.goal) }}
                    </div>
                </div>
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.target{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.target) }}
                    </div>
                </div> 
                <div class=\"form-group row\">
\t\t\t\t<div class=\"col-sm-2\">
\t\t\t\t\t<label class=\"col-form-label\">{% trans %}basics.desagregation{% endtrans %}</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.desagregation) }}
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.modalite) }}
\t\t\t\t</div>
\t\t\t</div>  
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

    {% if datas['rows'] %}
        <label class=\"col-form-label\">Mode de calcul sélectionné : Moyenne {{settingsManager.getYear(app.session.get('_year')).moyenne}} </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                            {% if is_granted('ROLE_MANAGER') %}
                                Géométrique : {{ datas['header']['indiceG']|number_format(2, ',', ' ') }}   | Arithmétique : {{ datas['header']['indiceA']|number_format(2, ',', ' ') }}
                            {% else %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                            {% endif %}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"{{ (is_granted('ROLE_MANAGER') and (not showValue)) ? 3 : 2 }}\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                        {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 140px\">Réc. Géométrique</th>
                            <th style=\"width: 140px\">Réc. Arithmétique</th>
                        {% else %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                        {% endif %}
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                    {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceG'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceA'] }}</td>
                    {% else %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    {% endif %}
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}




{% if is_granted('ROLE_MANAGER') %}
    {% if datas['rows'] %}
        <label class=\"col-form-label\">Indice global </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"2\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}
{% endif %}


{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#outputMinistryTable\").DataTable({
                \"searching\": false,
                \"pageLength\": 25,
                \"lengthChange\": false
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}    ", "suivi_ind/output_indice.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_ind/output_indice.html.twig");
    }
}


/* suivi_ind/output_indice.html.twig */
class __TwigTemplate_0a38cf63bb11cdf492b4dc5b2477c6c3___503255045 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_body' => [$this, 'block_box_body'],
        ];
    }

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

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "suivi_ind/output_indice.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 7);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 8
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_body"));

        // line 9
        yield "            ";
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 9, $this->source); })()), 'form_start');
        yield "
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">";
        // line 12
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.goal", [], "messages");
        yield "</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        ";
        // line 15
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 15, $this->source); })()), "goal", [], "any", false, false, false, 15), 'widget');
        yield "
                    </div>
                </div>
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">";
        // line 20
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.target", [], "messages");
        yield "</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        ";
        // line 23
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 23, $this->source); })()), "target", [], "any", false, false, false, 23), 'widget');
        yield "
                    </div>
                </div> 
                <div class=\"form-group row\">
\t\t\t\t<div class=\"col-sm-2\">
\t\t\t\t\t<label class=\"col-form-label\">";
        // line 28
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.desagregation", [], "messages");
        yield "</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t";
        // line 31
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 31, $this->source); })()), "desagregation", [], "any", false, false, false, 31), 'widget');
        yield "
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t";
        // line 34
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 34, $this->source); })()), "modalite", [], "any", false, false, false, 34), 'widget');
        yield "
\t\t\t\t</div>
\t\t\t</div>  
                
            ";
        // line 38
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 38, $this->source); })()), 'form_end');
        yield "    
        ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  670 => 38,  663 => 34,  657 => 31,  651 => 28,  643 => 23,  637 => 20,  629 => 15,  623 => 12,  616 => 9,  606 => 8,  589 => 7,  219 => 306,  209 => 305,  199 => 302,  195 => 301,  183 => 291,  173 => 290,  163 => 286,  158 => 283,  156 => 214,  150 => 210,  148 => 196,  147 => 195,  143 => 193,  141 => 179,  140 => 178,  135 => 175,  132 => 174,  130 => 173,  124 => 169,  120 => 167,  118 => 86,  112 => 82,  110 => 68,  109 => 67,  105 => 65,  103 => 47,  102 => 46,  95 => 43,  93 => 42,  90 => 41,  87 => 7,  77 => 6,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/suiodd-layout.html.twig' %}

{% block page_title %}{% trans %}output.indice.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.goal{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.goal) }}
                    </div>
                </div>
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.target{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.target) }}
                    </div>
                </div> 
                <div class=\"form-group row\">
\t\t\t\t<div class=\"col-sm-2\">
\t\t\t\t\t<label class=\"col-form-label\">{% trans %}basics.desagregation{% endtrans %}</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.desagregation) }}
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.modalite) }}
\t\t\t\t</div>
\t\t\t</div>  
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

    {% if datas['rows'] %}
        <label class=\"col-form-label\">Mode de calcul sélectionné : Moyenne {{settingsManager.getYear(app.session.get('_year')).moyenne}} </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                            {% if is_granted('ROLE_MANAGER') %}
                                Géométrique : {{ datas['header']['indiceG']|number_format(2, ',', ' ') }}   | Arithmétique : {{ datas['header']['indiceA']|number_format(2, ',', ' ') }}
                            {% else %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                            {% endif %}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"{{ (is_granted('ROLE_MANAGER') and (not showValue)) ? 3 : 2 }}\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                        {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 140px\">Réc. Géométrique</th>
                            <th style=\"width: 140px\">Réc. Arithmétique</th>
                        {% else %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                        {% endif %}
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                    {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceG'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceA'] }}</td>
                    {% else %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    {% endif %}
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}




{% if is_granted('ROLE_MANAGER') %}
    {% if datas['rows'] %}
        <label class=\"col-form-label\">Indice global </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"2\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}
{% endif %}


{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#outputMinistryTable\").DataTable({
                \"searching\": false,
                \"pageLength\": 25,
                \"lengthChange\": false
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}    ", "suivi_ind/output_indice.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_ind/output_indice.html.twig");
    }
}


/* suivi_ind/output_indice.html.twig */
class __TwigTemplate_0a38cf63bb11cdf492b4dc5b2477c6c3___314794945 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_text' => [$this, 'block_box_text'],
            'box_number' => [$this, 'block_box_number'],
            'progress_description' => [$this, 'block_progress_description'],
        ];
    }

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

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "suivi_ind/output_indice.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/infobox-widget.html.twig", 46);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 50
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_text(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_text"));

        yield " ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 50, $this->source); })()), "title", [], "array", false, false, false, 50), "html", null, true);
        yield " ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 51
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_number(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_number"));

        // line 52
        yield "                        ";
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 52, $this->source); })()), "header", [], "array", false, false, false, 52), "indice", [], "array", false, false, false, 52) != "-")) {
            // line 53
            yield "                            ";
            if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 54
                yield "                                Géométrique : ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 54, $this->source); })()), "header", [], "array", false, false, false, 54), "indiceG", [], "array", false, false, false, 54), 2, ",", " "), "html", null, true);
                yield "   | Arithmétique : ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 54, $this->source); })()), "header", [], "array", false, false, false, 54), "indiceA", [], "array", false, false, false, 54), 2, ",", " "), "html", null, true);
                yield "
                            ";
            } else {
                // line 56
                yield "                                ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 56, $this->source); })()), "header", [], "array", false, false, false, 56), "indice", [], "array", false, false, false, 56), 2, ",", " "), "html", null, true);
                yield "
                            ";
            }
            // line 58
            yield "                        ";
        } else {
            // line 59
            yield "                            -
                        ";
        }
        // line 61
        yield "                        ";
        // line 62
        yield "                    ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 63
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_progress_description(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "progress_description"));

        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  1124 => 63,  1116 => 62,  1114 => 61,  1110 => 59,  1107 => 58,  1101 => 56,  1093 => 54,  1090 => 53,  1087 => 52,  1077 => 51,  1058 => 50,  1041 => 46,  670 => 38,  663 => 34,  657 => 31,  651 => 28,  643 => 23,  637 => 20,  629 => 15,  623 => 12,  616 => 9,  606 => 8,  589 => 7,  219 => 306,  209 => 305,  199 => 302,  195 => 301,  183 => 291,  173 => 290,  163 => 286,  158 => 283,  156 => 214,  150 => 210,  148 => 196,  147 => 195,  143 => 193,  141 => 179,  140 => 178,  135 => 175,  132 => 174,  130 => 173,  124 => 169,  120 => 167,  118 => 86,  112 => 82,  110 => 68,  109 => 67,  105 => 65,  103 => 47,  102 => 46,  95 => 43,  93 => 42,  90 => 41,  87 => 7,  77 => 6,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/suiodd-layout.html.twig' %}

{% block page_title %}{% trans %}output.indice.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.goal{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.goal) }}
                    </div>
                </div>
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.target{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.target) }}
                    </div>
                </div> 
                <div class=\"form-group row\">
\t\t\t\t<div class=\"col-sm-2\">
\t\t\t\t\t<label class=\"col-form-label\">{% trans %}basics.desagregation{% endtrans %}</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.desagregation) }}
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.modalite) }}
\t\t\t\t</div>
\t\t\t</div>  
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

    {% if datas['rows'] %}
        <label class=\"col-form-label\">Mode de calcul sélectionné : Moyenne {{settingsManager.getYear(app.session.get('_year')).moyenne}} </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                            {% if is_granted('ROLE_MANAGER') %}
                                Géométrique : {{ datas['header']['indiceG']|number_format(2, ',', ' ') }}   | Arithmétique : {{ datas['header']['indiceA']|number_format(2, ',', ' ') }}
                            {% else %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                            {% endif %}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"{{ (is_granted('ROLE_MANAGER') and (not showValue)) ? 3 : 2 }}\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                        {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 140px\">Réc. Géométrique</th>
                            <th style=\"width: 140px\">Réc. Arithmétique</th>
                        {% else %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                        {% endif %}
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                    {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceG'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceA'] }}</td>
                    {% else %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    {% endif %}
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}




{% if is_granted('ROLE_MANAGER') %}
    {% if datas['rows'] %}
        <label class=\"col-form-label\">Indice global </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"2\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}
{% endif %}


{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#outputMinistryTable\").DataTable({
                \"searching\": false,
                \"pageLength\": 25,
                \"lengthChange\": false
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}    ", "suivi_ind/output_indice.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_ind/output_indice.html.twig");
    }
}


/* suivi_ind/output_indice.html.twig */
class __TwigTemplate_0a38cf63bb11cdf492b4dc5b2477c6c3___1392558264 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_text' => [$this, 'block_box_text'],
            'box_number' => [$this, 'block_box_number'],
            'progress_description' => [$this, 'block_progress_description'],
        ];
    }

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

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "suivi_ind/output_indice.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/infobox-widget.html.twig", 67);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 71
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_text(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_text"));

        yield "Tendance globale";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 72
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_number(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_number"));

        // line 73
        yield "                        ";
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 73, $this->source); })()), "header", [], "array", false, false, false, 73), "trend", [], "array", false, false, false, 73) != "-")) {
            // line 74
            yield "                            <img src=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("dist/img/"), "html", null, true);
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 74, $this->source); })()), "header", [], "array", false, false, false, 74), "trend", [], "array", false, false, false, 74), "html", null, true);
            yield ".png\" style=\"width:32px\">
                        ";
        } else {
            // line 76
            yield "                            ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 76, $this->source); })()), "header", [], "array", false, false, false, 76), "trend", [], "array", false, false, false, 76), "html", null, true);
            yield "
                        ";
        }
        // line 78
        yield "                        ";
        // line 79
        yield "                    ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 80
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_progress_description(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "progress_description"));

        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  1571 => 80,  1563 => 79,  1561 => 78,  1555 => 76,  1548 => 74,  1545 => 73,  1535 => 72,  1518 => 71,  1501 => 67,  1124 => 63,  1116 => 62,  1114 => 61,  1110 => 59,  1107 => 58,  1101 => 56,  1093 => 54,  1090 => 53,  1087 => 52,  1077 => 51,  1058 => 50,  1041 => 46,  670 => 38,  663 => 34,  657 => 31,  651 => 28,  643 => 23,  637 => 20,  629 => 15,  623 => 12,  616 => 9,  606 => 8,  589 => 7,  219 => 306,  209 => 305,  199 => 302,  195 => 301,  183 => 291,  173 => 290,  163 => 286,  158 => 283,  156 => 214,  150 => 210,  148 => 196,  147 => 195,  143 => 193,  141 => 179,  140 => 178,  135 => 175,  132 => 174,  130 => 173,  124 => 169,  120 => 167,  118 => 86,  112 => 82,  110 => 68,  109 => 67,  105 => 65,  103 => 47,  102 => 46,  95 => 43,  93 => 42,  90 => 41,  87 => 7,  77 => 6,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/suiodd-layout.html.twig' %}

{% block page_title %}{% trans %}output.indice.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.goal{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.goal) }}
                    </div>
                </div>
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.target{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.target) }}
                    </div>
                </div> 
                <div class=\"form-group row\">
\t\t\t\t<div class=\"col-sm-2\">
\t\t\t\t\t<label class=\"col-form-label\">{% trans %}basics.desagregation{% endtrans %}</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.desagregation) }}
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.modalite) }}
\t\t\t\t</div>
\t\t\t</div>  
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

    {% if datas['rows'] %}
        <label class=\"col-form-label\">Mode de calcul sélectionné : Moyenne {{settingsManager.getYear(app.session.get('_year')).moyenne}} </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                            {% if is_granted('ROLE_MANAGER') %}
                                Géométrique : {{ datas['header']['indiceG']|number_format(2, ',', ' ') }}   | Arithmétique : {{ datas['header']['indiceA']|number_format(2, ',', ' ') }}
                            {% else %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                            {% endif %}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"{{ (is_granted('ROLE_MANAGER') and (not showValue)) ? 3 : 2 }}\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                        {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 140px\">Réc. Géométrique</th>
                            <th style=\"width: 140px\">Réc. Arithmétique</th>
                        {% else %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                        {% endif %}
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                    {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceG'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceA'] }}</td>
                    {% else %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    {% endif %}
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}




{% if is_granted('ROLE_MANAGER') %}
    {% if datas['rows'] %}
        <label class=\"col-form-label\">Indice global </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"2\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}
{% endif %}


{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#outputMinistryTable\").DataTable({
                \"searching\": false,
                \"pageLength\": 25,
                \"lengthChange\": false
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}    ", "suivi_ind/output_indice.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_ind/output_indice.html.twig");
    }
}


/* suivi_ind/output_indice.html.twig */
class __TwigTemplate_0a38cf63bb11cdf492b4dc5b2477c6c3___808393304 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_body' => [$this, 'block_box_body'],
            'box_footer' => [$this, 'block_box_footer'],
        ];
    }

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

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "suivi_ind/output_indice.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 86);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 87
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_body"));

        // line 88
        yield "                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        ";
        // line 93
        if ((($tmp = (isset($context["showValue"]) || array_key_exists("showValue", $context) ? $context["showValue"] : (function () { throw new RuntimeError('Variable "showValue" does not exist.', 93, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 94
            yield "                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        ";
        }
        // line 96
        yield "                        <th colspan=\"";
        yield ((($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER") && (!(isset($context["showValue"]) || array_key_exists("showValue", $context) ? $context["showValue"] : (function () { throw new RuntimeError('Variable "showValue" does not exist.', 96, $this->source); })())))) ? (3) : (2));
        yield "\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        ";
        // line 101
        if ((($tmp = (isset($context["showValue"]) || array_key_exists("showValue", $context) ? $context["showValue"] : (function () { throw new RuntimeError('Variable "showValue" does not exist.', 101, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 102
            yield "                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        ";
        }
        // line 107
        yield "                        ";
        if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER") && (!(isset($context["showValue"]) || array_key_exists("showValue", $context) ? $context["showValue"] : (function () { throw new RuntimeError('Variable "showValue" does not exist.', 107, $this->source); })())))) {
            // line 108
            yield "                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 140px\">Réc. Géométrique</th>
                            <th style=\"width: 140px\">Réc. Arithmétique</th>
                        ";
        } else {
            // line 112
            yield "                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                        ";
        }
        // line 115
        yield "                    </tr>
                </thead>
                ";
        // line 117
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 117, $this->source); })()), "rows", [], "array", false, false, false, 117));
        foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
            // line 118
            yield "                <tr>
                    <td>";
            // line 119
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "code", [], "array", false, false, false, 119), "html", null, true);
            yield "</td>
                    <td>";
            // line 120
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "name", [], "array", false, false, false, 120), "html", null, true);
            yield "</td>
                    ";
            // line 121
            if ((($tmp = (isset($context["showValue"]) || array_key_exists("showValue", $context) ? $context["showValue"] : (function () { throw new RuntimeError('Variable "showValue" does not exist.', 121, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 122
                yield "                    <td class=\"text-center\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "refValue", [], "array", false, false, false, 122), "html", null, true);
                yield "<br>(";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "refYear", [], "array", false, false, false, 122), "html", null, true);
                yield ")</td>
                    <td class=\"text-center\">";
                // line 123
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "recValue", [], "array", false, false, false, 123), "html", null, true);
                yield "<br>(";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "recYear", [], "array", false, false, false, 123), "html", null, true);
                yield ")</td>
                    <td class=\"text-center\">";
                // line 124
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "minValue", [], "array", false, false, false, 124), "html", null, true);
                yield "</td>
                    <td class=\"text-center\">";
                // line 125
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "maxValue", [], "array", false, false, false, 125), "html", null, true);
                yield "</td>
                    ";
            }
            // line 127
            yield "                    ";
            if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MANAGER") && (!(isset($context["showValue"]) || array_key_exists("showValue", $context) ? $context["showValue"] : (function () { throw new RuntimeError('Variable "showValue" does not exist.', 127, $this->source); })())))) {
                // line 128
                yield "                        <td class=\"text-center\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "refIndice", [], "array", false, false, false, 128), "html", null, true);
                yield "</td>
                        <td class=\"text-center\">";
                // line 129
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "recIndiceG", [], "array", false, false, false, 129), "html", null, true);
                yield "</td>
                        <td class=\"text-center\">";
                // line 130
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "recIndiceA", [], "array", false, false, false, 130), "html", null, true);
                yield "</td>
                    ";
            } else {
                // line 132
                yield "                        <td class=\"text-center\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "refIndice", [], "array", false, false, false, 132), "html", null, true);
                yield "</td>
                        <td class=\"text-center\">";
                // line 133
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "recIndice", [], "array", false, false, false, 133), "html", null, true);
                yield "</td>
                    ";
            }
            // line 135
            yield "                    
                    <td class=\"text-center\">
                        ";
            // line 137
            if ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "statut", [], "array", false, false, false, 137) != "-")) {
                // line 138
                yield "                            <i class=\"nav-icon fas fa-circle text-";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "statut", [], "array", false, false, false, 138), "html", null, true);
                yield "\"></i>
                        ";
            } else {
                // line 140
                yield "                            ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "statut", [], "array", false, false, false, 140), "html", null, true);
                yield "
                        ";
            }
            // line 142
            yield "                    </td>
                    <td class=\"text-center\">
                        ";
            // line 144
            if ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "trend", [], "array", false, false, false, 144) != "-")) {
                // line 145
                yield "                            <img src=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("dist/img/"), "html", null, true);
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "trend", [], "array", false, false, false, 145), "html", null, true);
                yield ".png\" style=\"width:24px\">
                        ";
            } else {
                // line 147
                yield "                            ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "trend", [], "array", false, false, false, 147), "html", null, true);
                yield "
                        ";
            }
            // line 149
            yield "                    </td>
                </tr>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['row'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 152
        yield "                </table>
            ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 155
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_footer(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_footer"));

        // line 156
        yield "            <form name=\"output_ministry_export\" method=\"post\" action=\"";
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_output_indice_export");
        yield "\">
                <input type=\"hidden\" name=\"datas\" value=\"";
        // line 157
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode((isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 157, $this->source); })())), "html", null, true);
        yield "\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">";
        // line 160
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.export", [], "messages");
        yield "</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  2164 => 160,  2158 => 157,  2153 => 156,  2143 => 155,  2134 => 152,  2126 => 149,  2120 => 147,  2113 => 145,  2111 => 144,  2107 => 142,  2101 => 140,  2095 => 138,  2093 => 137,  2089 => 135,  2084 => 133,  2079 => 132,  2074 => 130,  2070 => 129,  2065 => 128,  2062 => 127,  2057 => 125,  2053 => 124,  2047 => 123,  2040 => 122,  2038 => 121,  2034 => 120,  2030 => 119,  2027 => 118,  2023 => 117,  2019 => 115,  2014 => 112,  2008 => 108,  2005 => 107,  1998 => 102,  1996 => 101,  1987 => 96,  1983 => 94,  1981 => 93,  1974 => 88,  1964 => 87,  1947 => 86,  1571 => 80,  1563 => 79,  1561 => 78,  1555 => 76,  1548 => 74,  1545 => 73,  1535 => 72,  1518 => 71,  1501 => 67,  1124 => 63,  1116 => 62,  1114 => 61,  1110 => 59,  1107 => 58,  1101 => 56,  1093 => 54,  1090 => 53,  1087 => 52,  1077 => 51,  1058 => 50,  1041 => 46,  670 => 38,  663 => 34,  657 => 31,  651 => 28,  643 => 23,  637 => 20,  629 => 15,  623 => 12,  616 => 9,  606 => 8,  589 => 7,  219 => 306,  209 => 305,  199 => 302,  195 => 301,  183 => 291,  173 => 290,  163 => 286,  158 => 283,  156 => 214,  150 => 210,  148 => 196,  147 => 195,  143 => 193,  141 => 179,  140 => 178,  135 => 175,  132 => 174,  130 => 173,  124 => 169,  120 => 167,  118 => 86,  112 => 82,  110 => 68,  109 => 67,  105 => 65,  103 => 47,  102 => 46,  95 => 43,  93 => 42,  90 => 41,  87 => 7,  77 => 6,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/suiodd-layout.html.twig' %}

{% block page_title %}{% trans %}output.indice.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.goal{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.goal) }}
                    </div>
                </div>
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.target{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.target) }}
                    </div>
                </div> 
                <div class=\"form-group row\">
\t\t\t\t<div class=\"col-sm-2\">
\t\t\t\t\t<label class=\"col-form-label\">{% trans %}basics.desagregation{% endtrans %}</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.desagregation) }}
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.modalite) }}
\t\t\t\t</div>
\t\t\t</div>  
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

    {% if datas['rows'] %}
        <label class=\"col-form-label\">Mode de calcul sélectionné : Moyenne {{settingsManager.getYear(app.session.get('_year')).moyenne}} </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                            {% if is_granted('ROLE_MANAGER') %}
                                Géométrique : {{ datas['header']['indiceG']|number_format(2, ',', ' ') }}   | Arithmétique : {{ datas['header']['indiceA']|number_format(2, ',', ' ') }}
                            {% else %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                            {% endif %}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"{{ (is_granted('ROLE_MANAGER') and (not showValue)) ? 3 : 2 }}\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                        {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 140px\">Réc. Géométrique</th>
                            <th style=\"width: 140px\">Réc. Arithmétique</th>
                        {% else %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                        {% endif %}
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                    {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceG'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceA'] }}</td>
                    {% else %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    {% endif %}
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}




{% if is_granted('ROLE_MANAGER') %}
    {% if datas['rows'] %}
        <label class=\"col-form-label\">Indice global </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"2\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}
{% endif %}


{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#outputMinistryTable\").DataTable({
                \"searching\": false,
                \"pageLength\": 25,
                \"lengthChange\": false
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}    ", "suivi_ind/output_indice.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_ind/output_indice.html.twig");
    }
}


/* suivi_ind/output_indice.html.twig */
class __TwigTemplate_0a38cf63bb11cdf492b4dc5b2477c6c3___518786934 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_text' => [$this, 'block_box_text'],
            'box_number' => [$this, 'block_box_number'],
            'progress_description' => [$this, 'block_progress_description'],
        ];
    }

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

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "suivi_ind/output_indice.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/infobox-widget.html.twig", 178);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 182
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_text(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_text"));

        yield " ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 182, $this->source); })()), "title", [], "array", false, false, false, 182), "html", null, true);
        yield " ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 183
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_number(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_number"));

        // line 184
        yield "                        ";
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 184, $this->source); })()), "header", [], "array", false, false, false, 184), "indice", [], "array", false, false, false, 184) != "-")) {
            // line 185
            yield "                                ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 185, $this->source); })()), "header", [], "array", false, false, false, 185), "indice", [], "array", false, false, false, 185), 2, ",", " "), "html", null, true);
            yield "
                        ";
        } else {
            // line 187
            yield "                            -
                        ";
        }
        // line 189
        yield "                        ";
        // line 190
        yield "                    ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 191
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_progress_description(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "progress_description"));

        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  2608 => 191,  2600 => 190,  2598 => 189,  2594 => 187,  2588 => 185,  2585 => 184,  2575 => 183,  2556 => 182,  2539 => 178,  2164 => 160,  2158 => 157,  2153 => 156,  2143 => 155,  2134 => 152,  2126 => 149,  2120 => 147,  2113 => 145,  2111 => 144,  2107 => 142,  2101 => 140,  2095 => 138,  2093 => 137,  2089 => 135,  2084 => 133,  2079 => 132,  2074 => 130,  2070 => 129,  2065 => 128,  2062 => 127,  2057 => 125,  2053 => 124,  2047 => 123,  2040 => 122,  2038 => 121,  2034 => 120,  2030 => 119,  2027 => 118,  2023 => 117,  2019 => 115,  2014 => 112,  2008 => 108,  2005 => 107,  1998 => 102,  1996 => 101,  1987 => 96,  1983 => 94,  1981 => 93,  1974 => 88,  1964 => 87,  1947 => 86,  1571 => 80,  1563 => 79,  1561 => 78,  1555 => 76,  1548 => 74,  1545 => 73,  1535 => 72,  1518 => 71,  1501 => 67,  1124 => 63,  1116 => 62,  1114 => 61,  1110 => 59,  1107 => 58,  1101 => 56,  1093 => 54,  1090 => 53,  1087 => 52,  1077 => 51,  1058 => 50,  1041 => 46,  670 => 38,  663 => 34,  657 => 31,  651 => 28,  643 => 23,  637 => 20,  629 => 15,  623 => 12,  616 => 9,  606 => 8,  589 => 7,  219 => 306,  209 => 305,  199 => 302,  195 => 301,  183 => 291,  173 => 290,  163 => 286,  158 => 283,  156 => 214,  150 => 210,  148 => 196,  147 => 195,  143 => 193,  141 => 179,  140 => 178,  135 => 175,  132 => 174,  130 => 173,  124 => 169,  120 => 167,  118 => 86,  112 => 82,  110 => 68,  109 => 67,  105 => 65,  103 => 47,  102 => 46,  95 => 43,  93 => 42,  90 => 41,  87 => 7,  77 => 6,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/suiodd-layout.html.twig' %}

{% block page_title %}{% trans %}output.indice.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.goal{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.goal) }}
                    </div>
                </div>
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.target{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.target) }}
                    </div>
                </div> 
                <div class=\"form-group row\">
\t\t\t\t<div class=\"col-sm-2\">
\t\t\t\t\t<label class=\"col-form-label\">{% trans %}basics.desagregation{% endtrans %}</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.desagregation) }}
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.modalite) }}
\t\t\t\t</div>
\t\t\t</div>  
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

    {% if datas['rows'] %}
        <label class=\"col-form-label\">Mode de calcul sélectionné : Moyenne {{settingsManager.getYear(app.session.get('_year')).moyenne}} </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                            {% if is_granted('ROLE_MANAGER') %}
                                Géométrique : {{ datas['header']['indiceG']|number_format(2, ',', ' ') }}   | Arithmétique : {{ datas['header']['indiceA']|number_format(2, ',', ' ') }}
                            {% else %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                            {% endif %}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"{{ (is_granted('ROLE_MANAGER') and (not showValue)) ? 3 : 2 }}\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                        {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 140px\">Réc. Géométrique</th>
                            <th style=\"width: 140px\">Réc. Arithmétique</th>
                        {% else %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                        {% endif %}
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                    {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceG'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceA'] }}</td>
                    {% else %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    {% endif %}
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}




{% if is_granted('ROLE_MANAGER') %}
    {% if datas['rows'] %}
        <label class=\"col-form-label\">Indice global </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"2\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}
{% endif %}


{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#outputMinistryTable\").DataTable({
                \"searching\": false,
                \"pageLength\": 25,
                \"lengthChange\": false
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}    ", "suivi_ind/output_indice.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_ind/output_indice.html.twig");
    }
}


/* suivi_ind/output_indice.html.twig */
class __TwigTemplate_0a38cf63bb11cdf492b4dc5b2477c6c3___388728287 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_text' => [$this, 'block_box_text'],
            'box_number' => [$this, 'block_box_number'],
            'progress_description' => [$this, 'block_progress_description'],
        ];
    }

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

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "suivi_ind/output_indice.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/infobox-widget.html.twig", 195);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 199
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_text(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_text"));

        yield "Tendance globale";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 200
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_number(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_number"));

        // line 201
        yield "                        ";
        if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 201, $this->source); })()), "header", [], "array", false, false, false, 201), "trend", [], "array", false, false, false, 201) != "-")) {
            // line 202
            yield "                            <img src=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("dist/img/"), "html", null, true);
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 202, $this->source); })()), "header", [], "array", false, false, false, 202), "trend", [], "array", false, false, false, 202), "html", null, true);
            yield ".png\" style=\"width:32px\">
                        ";
        } else {
            // line 204
            yield "                            ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 204, $this->source); })()), "header", [], "array", false, false, false, 204), "trend", [], "array", false, false, false, 204), "html", null, true);
            yield "
                        ";
        }
        // line 206
        yield "                        ";
        // line 207
        yield "                    ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 208
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_progress_description(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "progress_description"));

        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  3055 => 208,  3047 => 207,  3045 => 206,  3039 => 204,  3032 => 202,  3029 => 201,  3019 => 200,  3002 => 199,  2985 => 195,  2608 => 191,  2600 => 190,  2598 => 189,  2594 => 187,  2588 => 185,  2585 => 184,  2575 => 183,  2556 => 182,  2539 => 178,  2164 => 160,  2158 => 157,  2153 => 156,  2143 => 155,  2134 => 152,  2126 => 149,  2120 => 147,  2113 => 145,  2111 => 144,  2107 => 142,  2101 => 140,  2095 => 138,  2093 => 137,  2089 => 135,  2084 => 133,  2079 => 132,  2074 => 130,  2070 => 129,  2065 => 128,  2062 => 127,  2057 => 125,  2053 => 124,  2047 => 123,  2040 => 122,  2038 => 121,  2034 => 120,  2030 => 119,  2027 => 118,  2023 => 117,  2019 => 115,  2014 => 112,  2008 => 108,  2005 => 107,  1998 => 102,  1996 => 101,  1987 => 96,  1983 => 94,  1981 => 93,  1974 => 88,  1964 => 87,  1947 => 86,  1571 => 80,  1563 => 79,  1561 => 78,  1555 => 76,  1548 => 74,  1545 => 73,  1535 => 72,  1518 => 71,  1501 => 67,  1124 => 63,  1116 => 62,  1114 => 61,  1110 => 59,  1107 => 58,  1101 => 56,  1093 => 54,  1090 => 53,  1087 => 52,  1077 => 51,  1058 => 50,  1041 => 46,  670 => 38,  663 => 34,  657 => 31,  651 => 28,  643 => 23,  637 => 20,  629 => 15,  623 => 12,  616 => 9,  606 => 8,  589 => 7,  219 => 306,  209 => 305,  199 => 302,  195 => 301,  183 => 291,  173 => 290,  163 => 286,  158 => 283,  156 => 214,  150 => 210,  148 => 196,  147 => 195,  143 => 193,  141 => 179,  140 => 178,  135 => 175,  132 => 174,  130 => 173,  124 => 169,  120 => 167,  118 => 86,  112 => 82,  110 => 68,  109 => 67,  105 => 65,  103 => 47,  102 => 46,  95 => 43,  93 => 42,  90 => 41,  87 => 7,  77 => 6,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/suiodd-layout.html.twig' %}

{% block page_title %}{% trans %}output.indice.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.goal{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.goal) }}
                    </div>
                </div>
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.target{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.target) }}
                    </div>
                </div> 
                <div class=\"form-group row\">
\t\t\t\t<div class=\"col-sm-2\">
\t\t\t\t\t<label class=\"col-form-label\">{% trans %}basics.desagregation{% endtrans %}</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.desagregation) }}
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.modalite) }}
\t\t\t\t</div>
\t\t\t</div>  
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

    {% if datas['rows'] %}
        <label class=\"col-form-label\">Mode de calcul sélectionné : Moyenne {{settingsManager.getYear(app.session.get('_year')).moyenne}} </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                            {% if is_granted('ROLE_MANAGER') %}
                                Géométrique : {{ datas['header']['indiceG']|number_format(2, ',', ' ') }}   | Arithmétique : {{ datas['header']['indiceA']|number_format(2, ',', ' ') }}
                            {% else %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                            {% endif %}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"{{ (is_granted('ROLE_MANAGER') and (not showValue)) ? 3 : 2 }}\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                        {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 140px\">Réc. Géométrique</th>
                            <th style=\"width: 140px\">Réc. Arithmétique</th>
                        {% else %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                        {% endif %}
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                    {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceG'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceA'] }}</td>
                    {% else %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    {% endif %}
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}




{% if is_granted('ROLE_MANAGER') %}
    {% if datas['rows'] %}
        <label class=\"col-form-label\">Indice global </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"2\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}
{% endif %}


{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#outputMinistryTable\").DataTable({
                \"searching\": false,
                \"pageLength\": 25,
                \"lengthChange\": false
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}    ", "suivi_ind/output_indice.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_ind/output_indice.html.twig");
    }
}


/* suivi_ind/output_indice.html.twig */
class __TwigTemplate_0a38cf63bb11cdf492b4dc5b2477c6c3___591631023 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_body' => [$this, 'block_box_body'],
            'box_footer' => [$this, 'block_box_footer'],
        ];
    }

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

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "suivi_ind/output_indice.html.twig"));

        $this->parent = $this->load("@AdminLTE/Widgets/box-widget.html.twig", 214);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 215
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_body"));

        // line 216
        yield "                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        ";
        // line 221
        if ((($tmp = (isset($context["showValue"]) || array_key_exists("showValue", $context) ? $context["showValue"] : (function () { throw new RuntimeError('Variable "showValue" does not exist.', 221, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 222
            yield "                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        ";
        }
        // line 224
        yield "                        <th colspan=\"2\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        ";
        // line 229
        if ((($tmp = (isset($context["showValue"]) || array_key_exists("showValue", $context) ? $context["showValue"] : (function () { throw new RuntimeError('Variable "showValue" does not exist.', 229, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 230
            yield "                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        ";
        }
        // line 235
        yield "                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                    </tr>
                </thead>
                ";
        // line 239
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 239, $this->source); })()), "rows", [], "array", false, false, false, 239));
        foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
            // line 240
            yield "                <tr>
                    <td>";
            // line 241
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "code", [], "array", false, false, false, 241), "html", null, true);
            yield "</td>
                    <td>";
            // line 242
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "name", [], "array", false, false, false, 242), "html", null, true);
            yield "</td>
                    ";
            // line 243
            if ((($tmp = (isset($context["showValue"]) || array_key_exists("showValue", $context) ? $context["showValue"] : (function () { throw new RuntimeError('Variable "showValue" does not exist.', 243, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                // line 244
                yield "                    <td class=\"text-center\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "refValue", [], "array", false, false, false, 244), "html", null, true);
                yield "<br>(";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "refYear", [], "array", false, false, false, 244), "html", null, true);
                yield ")</td>
                    <td class=\"text-center\">";
                // line 245
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "recValue", [], "array", false, false, false, 245), "html", null, true);
                yield "<br>(";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "recYear", [], "array", false, false, false, 245), "html", null, true);
                yield ")</td>
                    <td class=\"text-center\">";
                // line 246
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "minValue", [], "array", false, false, false, 246), "html", null, true);
                yield "</td>
                    <td class=\"text-center\">";
                // line 247
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "maxValue", [], "array", false, false, false, 247), "html", null, true);
                yield "</td>
                    ";
            }
            // line 249
            yield "                        <td class=\"text-center\">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "refIndice", [], "array", false, false, false, 249), "html", null, true);
            yield "</td>
                        <td class=\"text-center\">";
            // line 250
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "recIndice", [], "array", false, false, false, 250), "html", null, true);
            yield "</td>
                    
                    <td class=\"text-center\">
                        ";
            // line 253
            if ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "statut", [], "array", false, false, false, 253) != "-")) {
                // line 254
                yield "                            <i class=\"nav-icon fas fa-circle text-";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "statut", [], "array", false, false, false, 254), "html", null, true);
                yield "\"></i>
                        ";
            } else {
                // line 256
                yield "                            ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "statut", [], "array", false, false, false, 256), "html", null, true);
                yield "
                        ";
            }
            // line 258
            yield "                    </td>
                    <td class=\"text-center\">
                        ";
            // line 260
            if ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "trend", [], "array", false, false, false, 260) != "-")) {
                // line 261
                yield "                            <img src=\"";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("dist/img/"), "html", null, true);
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "trend", [], "array", false, false, false, 261), "html", null, true);
                yield ".png\" style=\"width:24px\">
                        ";
            } else {
                // line 263
                yield "                            ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "trend", [], "array", false, false, false, 263), "html", null, true);
                yield "
                        ";
            }
            // line 265
            yield "                    </td>
                </tr>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['row'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 268
        yield "                </table>
            ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 271
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_box_footer(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "box_footer"));

        // line 272
        yield "            <form name=\"output_ministry_export\" method=\"post\" action=\"";
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_output_indice_export");
        yield "\">
                <input type=\"hidden\" name=\"datas\" value=\"";
        // line 273
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode((isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 273, $this->source); })())), "html", null, true);
        yield "\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">";
        // line 276
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("basics.export", [], "messages");
        yield "</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            ";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  3614 => 276,  3608 => 273,  3603 => 272,  3593 => 271,  3584 => 268,  3576 => 265,  3570 => 263,  3563 => 261,  3561 => 260,  3557 => 258,  3551 => 256,  3545 => 254,  3543 => 253,  3537 => 250,  3532 => 249,  3527 => 247,  3523 => 246,  3517 => 245,  3510 => 244,  3508 => 243,  3504 => 242,  3500 => 241,  3497 => 240,  3493 => 239,  3487 => 235,  3480 => 230,  3478 => 229,  3471 => 224,  3467 => 222,  3465 => 221,  3458 => 216,  3448 => 215,  3431 => 214,  3055 => 208,  3047 => 207,  3045 => 206,  3039 => 204,  3032 => 202,  3029 => 201,  3019 => 200,  3002 => 199,  2985 => 195,  2608 => 191,  2600 => 190,  2598 => 189,  2594 => 187,  2588 => 185,  2585 => 184,  2575 => 183,  2556 => 182,  2539 => 178,  2164 => 160,  2158 => 157,  2153 => 156,  2143 => 155,  2134 => 152,  2126 => 149,  2120 => 147,  2113 => 145,  2111 => 144,  2107 => 142,  2101 => 140,  2095 => 138,  2093 => 137,  2089 => 135,  2084 => 133,  2079 => 132,  2074 => 130,  2070 => 129,  2065 => 128,  2062 => 127,  2057 => 125,  2053 => 124,  2047 => 123,  2040 => 122,  2038 => 121,  2034 => 120,  2030 => 119,  2027 => 118,  2023 => 117,  2019 => 115,  2014 => 112,  2008 => 108,  2005 => 107,  1998 => 102,  1996 => 101,  1987 => 96,  1983 => 94,  1981 => 93,  1974 => 88,  1964 => 87,  1947 => 86,  1571 => 80,  1563 => 79,  1561 => 78,  1555 => 76,  1548 => 74,  1545 => 73,  1535 => 72,  1518 => 71,  1501 => 67,  1124 => 63,  1116 => 62,  1114 => 61,  1110 => 59,  1107 => 58,  1101 => 56,  1093 => 54,  1090 => 53,  1087 => 52,  1077 => 51,  1058 => 50,  1041 => 46,  670 => 38,  663 => 34,  657 => 31,  651 => 28,  643 => 23,  637 => 20,  629 => 15,  623 => 12,  616 => 9,  606 => 8,  589 => 7,  219 => 306,  209 => 305,  199 => 302,  195 => 301,  183 => 291,  173 => 290,  163 => 286,  158 => 283,  156 => 214,  150 => 210,  148 => 196,  147 => 195,  143 => 193,  141 => 179,  140 => 178,  135 => 175,  132 => 174,  130 => 173,  124 => 169,  120 => 167,  118 => 86,  112 => 82,  110 => 68,  109 => 67,  105 => 65,  103 => 47,  102 => 46,  95 => 43,  93 => 42,  90 => 41,  87 => 7,  77 => 6,  60 => 3,  43 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends '@AdminLTE/layout/suiodd-layout.html.twig' %}

{% block page_title %}{% trans %}output.indice.title{% endtrans %}{% endblock %}


{% block page_content %}
    {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
        {% block box_body %}
            {{ form_start(form) }}
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.goal{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.goal) }}
                    </div>
                </div>
                <div class=\"form-group row\">
                    <div class=\"col-sm-2\">
\t\t\t\t\t    <label class=\"col-form-label\">{% trans %}basics.target{% endtrans %}</label>
\t\t\t\t    </div>
                    <div class=\"col-10 col-sm-10 col-md-10\">
                        {{ form_widget(form.target) }}
                    </div>
                </div> 
                <div class=\"form-group row\">
\t\t\t\t<div class=\"col-sm-2\">
\t\t\t\t\t<label class=\"col-form-label\">{% trans %}basics.desagregation{% endtrans %}</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.desagregation) }}
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-5\">
\t\t\t\t\t{{ form_widget(form.modalite) }}
\t\t\t\t</div>
\t\t\t</div>  
                
            {{ form_end(form) }}    
        {% endblock %}
    {% endembed %}

    {% if datas['rows'] %}
        <label class=\"col-form-label\">Mode de calcul sélectionné : Moyenne {{settingsManager.getYear(app.session.get('_year')).moyenne}} </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                            {% if is_granted('ROLE_MANAGER') %}
                                Géométrique : {{ datas['header']['indiceG']|number_format(2, ',', ' ') }}   | Arithmétique : {{ datas['header']['indiceA']|number_format(2, ',', ' ') }}
                            {% else %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                            {% endif %}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"{{ (is_granted('ROLE_MANAGER') and (not showValue)) ? 3 : 2 }}\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                        {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 140px\">Réc. Géométrique</th>
                            <th style=\"width: 140px\">Réc. Arithmétique</th>
                        {% else %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                        {% endif %}
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                    {% if (is_granted('ROLE_MANAGER') and (not showValue)) %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceG'] }}</td>
                        <td class=\"text-center\">{{ row['recIndiceA'] }}</td>
                    {% else %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    {% endif %}
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}




{% if is_granted('ROLE_MANAGER') %}
    {% if datas['rows'] %}
        <label class=\"col-form-label\">Indice global </label>
        <div class=\"row\">
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-map-signs',
                }%}
                    {% block box_text %} {{datas['title']}} {% endblock %}
                    {% block box_number %}
                        {% if datas['header']['indice']!='-' %}
                                {{ datas['header']['indice']|number_format(2, ',', ' ') }}
                        {% else %}
                            -
                        {% endif %}
                        {#{ datas['header']['indice']|number_format(2, ',', ' ') }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
            <div class=\"col-12 col-sm-12 col-md-6\">
                {% embed '@AdminLTE/Widgets/infobox-widget.html.twig'  with {
                    'color' : datas['header']['statut'],
                    'icon'  : 'fas fa-chart-line',
                }%}
                    {% block box_text %}Tendance globale{% endblock %}
                    {% block box_number %}
                        {% if datas['header']['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ datas['header']['trend'] }}.png\" style=\"width:32px\">
                        {% else %}
                            {{ datas['header']['trend'] }}
                        {% endif %}
                        {#{ datas['header']['trend'] }#}
                    {% endblock %}
                    {% block progress_description %}{% endblock %}
                {% endembed %}
            </div>
        </div>

        
        {% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
            {% block box_body %}
                <table id=\"outputMinistryTable\" class=\"table table-striped\">
                <thead>
                    <tr>
                        <th rowspan=\"2\">Code</th>
                        <th rowspan=\"2\">Name</th>
                        {% if showValue %}
                        <th colspan=\"4\">Valeurs de l’indicateur</th>
                        {% endif %}
                        <th colspan=\"2\">Indice</th>
                        <th rowspan=\"2\">Statut</th>
                        <th rowspan=\"2\">Trend</th>
                    </tr>
                    <tr>
                        {% if showValue %}
                        <th style=\"width: 60px\">Réf.</th>
                        <th style=\"width: 60px\">Réc.</th>
                        <th style=\"width: 60px\">Min.</th>
                        <th style=\"width: 60px\">Cible</th>
                        {% endif %}
                            <th style=\"width: 60px\">Réf.</th>
                            <th style=\"width: 60px\">Réc.</th>
                    </tr>
                </thead>
                {% for row in datas['rows'] %}
                <tr>
                    <td>{{ row['code'] }}</td>
                    <td>{{ row['name'] }}</td>
                    {% if showValue %}
                    <td class=\"text-center\">{{ row['refValue'] }}<br>({{ row['refYear'] }})</td>
                    <td class=\"text-center\">{{ row['recValue'] }}<br>({{ row['recYear'] }})</td>
                    <td class=\"text-center\">{{ row['minValue'] }}</td>
                    <td class=\"text-center\">{{ row['maxValue'] }}</td>
                    {% endif %}
                        <td class=\"text-center\">{{ row['refIndice'] }}</td>
                        <td class=\"text-center\">{{ row['recIndice'] }}</td>
                    
                    <td class=\"text-center\">
                        {% if row['statut']!='-' %}
                            <i class=\"nav-icon fas fa-circle text-{{ row['statut'] }}\"></i>
                        {% else %}
                            {{ row['statut'] }}
                        {% endif %}
                    </td>
                    <td class=\"text-center\">
                        {% if row['trend']!='-' %}
                            <img src=\"{{asset('dist/img/')}}{{ row['trend'] }}.png\" style=\"width:24px\">
                        {% else %}
                            {{ row['trend'] }}
                        {% endif %}
                    </td>
                </tr>
                {% endfor %}
                </table>
            {% endblock %}

            {% block box_footer %}
            <form name=\"output_ministry_export\" method=\"post\" action=\"{{ path('app_output_indice_export') }}\">
                <input type=\"hidden\" name=\"datas\" value=\"{{ datas | json_encode() }}\"/>
                <div class=\"row\">
                    <div class=\"col-sm-3\">
                        <button type=\"submit\" class=\"btn btn-block btn-primary\">{% trans %}basics.export{% endtrans %}</button>
                    </div>
                    <div class=\"col-sm-9\"></div>
                </div>
            </form>
            {% endblock %}
        {% endembed %}

    {% endif %}
{% endif %}


{% endblock %}

{% block javascripts %}
    <script>
        \$(function () {
            \$(\"#outputMinistryTable\").DataTable({
                \"searching\": false,
                \"pageLength\": 25,
                \"lengthChange\": false
            });
        });
    </script>

    <script src=\"{{ asset('plugins/datatables/jquery.dataTables.js') }}\"></script>
    <script src=\"{{ asset('plugins/datatables-bs4/js/dataTables.bootstrap4.js') }}\"></script>
{% endblock %}

{% block stylesheets %}
    <link rel=\"stylesheet\" href=\"{{ asset('plugins/datatables-bs4/css/dataTables.bootstrap4.css') }}\">
{% endblock %}    ", "suivi_ind/output_indice.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/suivi_ind/output_indice.html.twig");
    }
}
