<?php

/* FishmanFrontEndBundle:Dashboard/Poll/Report:result.html.twig */
class __TwigTemplate_d23e362fbb820c2b2b2fecf6e80e89f1 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("::base_fishman.html.twig");

        $this->blocks = array(
            'customheader' => array($this, 'block_customheader'),
            'subtitle' => array($this, 'block_subtitle'),
            'top_navigation' => array($this, 'block_top_navigation'),
            'navigation' => array($this, 'block_navigation'),
            'breadcrumb' => array($this, 'block_breadcrumb'),
            'subtitle2' => array($this, 'block_subtitle2'),
            'content' => array($this, 'block_content'),
            '__internal_21fba89ec604b7198c7f6adb66240b759f5abc65' => array($this, 'block___internal_21fba89ec604b7198c7f6adb66240b759f5abc65'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "::base_fishman.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_customheader($context, array $blocks = array())
    {
        // line 4
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:customheader.html.twig")->display(array_merge($context, array("customheadertitle" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitle"), "customheadertitletext" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitletext"), "customheadertitledescription" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitledescription"), "customheaderlogo" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheaderlogo"), "companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"), "companyname" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name"), "companyimage" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "image"))));
        // line 14
        if (($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "customheadertitle") == 0)) {
            // line 15
            echo "    ";
            $this->displayParentBlock("customheader", $context, $blocks);
            echo "
";
        }
    }

    // line 19
    public function block_subtitle($context, array $blocks = array())
    {
        // line 20
        echo "<span class=\"icon-screen\"></span>Encuesta : ";
        echo twig_escape_filter($this->env, (((((($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title") . " | V ") . $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "version")) . " | ") . $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name")) . " | ") . $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "pollschedulingperiod")), "html", null, true);
        echo "
";
    }

    // line 23
    public function block_top_navigation($context, array $blocks = array())
    {
        // line 24
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "dashboard", "dashboard" => "poll", "pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "type" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type"))));
    }

    // line 27
    public function block_navigation($context, array $blocks = array())
    {
        // line 28
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "dashboard", "dashboard" => "poll", "pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "type" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "type"))));
    }

    // line 31
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 32
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li><a href=\"";
        // line 33
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_homepage"), "html", null, true);
        echo "\">Dashboard</a></li>
    <li><a href=\"";
        // line 34
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title"), "html", null, true);
        echo "</a></li>
    <li class=\"current\"><a href=\"";
        // line 35
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_report_result", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
        echo "\">Reporte : Resultado de Encuesta</a></li>
</ul>
";
    }

    // line 39
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 40
        echo "<span class=\"icos-cog4\"></span><h5>Reportes</h5>
";
    }

    // line 43
    public function block_content($context, array $blocks = array())
    {
        // line 44
        $this->displayParentBlock("content", $context, $blocks);
        echo "

<div class=\"dashboard dataList\">

    <div class=\"widget tableDefault containerReport clearfix\">
  
        <div class=\"whead clearfix\">
            <h6>";
        // line 51
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_21fba89ec604b7198c7f6adb66240b759f5abc65", $context, $blocks)), "html", null, true);
        echo "</h6>
        </div>
          
        <div class=\"formCrudCreate\">
  
            <form action=\"\" method=\"post\"  class=\"crud main\">
            
                <div class=\"fluid tableDefault clearfix\">
                        
                    <fieldset class=\"step ui-formwizard-content clearfix\" id=\"w1first\" style=\"display: block;\">
                        
                        <div class=\"grid12\">
                          
                            <div class=\"formRow clearfix\">
                                <div class=\"grid2\"><label>Encuesta</label><span class=\"req\">*</span></div>
                                <div class=\"grid6\">";
        // line 66
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "title"), "html", null, true);
        echo "</div>
                            </div>
                            
                            <div class=\"formRow clearfix\">
                                <div class=\"grid2\"><label>Periodo</label><span class=\"req\">*</span></div>
                                <div class=\"grid6 pollschedulingsByPoll\">
                                    <div class=\"leftBox\">
                                        <select name=\"asigned_options[data1][]\" class=\"multiple selectOptionsData1\" multiple=\"multiple\">
                                        ";
        // line 74
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["pollschedulings"]) ? $context["pollschedulings"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["pollscheduling"]) {
            // line 75
            echo "                                            ";
            if ((!(null === (isset($context["pollschedulingsData"]) ? $context["pollschedulingsData"] : null)))) {
                // line 76
                echo "                                                ";
                if (!twig_in_filter($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"), $this->getAttribute((isset($context["pollschedulingsData"]) ? $context["pollschedulingsData"] : null), "data2", array(), "array"))) {
                    // line 77
                    echo "                                                <option value=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"), "html", null, true);
                    echo "\">
                                                    ";
                    // line 78
                    echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "key") . " - ") . $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "period")), "html", null, true);
                    echo "
                                                </option>
                                                ";
                }
                // line 81
                echo "                                            ";
            } else {
                // line 82
                echo "                                                <option value=\"";
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"), "html", null, true);
                echo "\">
                                                    ";
                // line 83
                echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "key") . " - ") . $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "period")), "html", null, true);
                echo "
                                                </option>
                                            ";
            }
            // line 86
            echo "                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pollscheduling'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 87
        echo "                                        </select>
                                    </div>
                                    <div class=\"dualControl\">
                                        <button id=\"moveToRightOptions\" type=\"button\" class=\"dualBtn mr5 mb15\">&nbsp;&gt;&nbsp;</button>
                                        <button id=\"moveToAllRightOptions\" type=\"button\" class=\"dualBtn mr5 mb15\">&nbsp;&gt;&gt;&nbsp;</button>
                                        <button id=\"moveToLeftOptions\" type=\"button\" class=\"dualBtn mr5 mb15\">&nbsp;&lt;&nbsp;</button>
                                        <button id=\"moveToAllLeftOptions\" type=\"button\" class=\"dualBtn mr5 mb15\">&nbsp;&lt;&lt;&nbsp;</button>
                                    </div>  
                                    <div class=\"rightBox\">
                                        <select name=\"asigned_options[data2][]\" class=\"multiple selectOptionsData2\" multiple=\"multiple\">
                                        ";
        // line 97
        if ((!(null === (isset($context["pollschedulingsData"]) ? $context["pollschedulingsData"] : null)))) {
            // line 98
            echo "                                            ";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["pollschedulings"]) ? $context["pollschedulings"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["pollscheduling"]) {
                // line 99
                echo "                                                ";
                if (twig_in_filter($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"), $this->getAttribute((isset($context["pollschedulingsData"]) ? $context["pollschedulingsData"] : null), "data2", array(), "array"))) {
                    // line 100
                    echo "                                                <option selected value=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "id"), "html", null, true);
                    echo "\">
                                                    ";
                    // line 101
                    echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "key") . " - ") . $this->getAttribute((isset($context["pollscheduling"]) ? $context["pollscheduling"] : null), "period")), "html", null, true);
                    echo "
                                                </option>
                                                ";
                }
                // line 104
                echo "                                            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pollscheduling'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 105
            echo "                                        ";
        }
        // line 106
        echo "                                        </select>
                                    </div>
                                </div>
                            </div>
                          
                            <div class=\"formRow clearfix\">
                                <div class=\"grid2\"><label>Evaluado</label><span class=\"req\">*</span></div>
                                <div class=\"grid6 evaluatedsByPollschedulings\">
                                    <select name=\"options_evaluated\" id=\"options_evaluated\" required >
                                        <option value>SELECCIONE UNA OPCIÓN</option>
                                        ";
        // line 116
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["evaluateds"]) ? $context["evaluateds"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["evaluated"]) {
            // line 117
            echo "                                            ";
            if (($this->getAttribute((isset($context["evaluated"]) ? $context["evaluated"] : null), "id") != (isset($context["evaluatedData"]) ? $context["evaluatedData"] : null))) {
                // line 118
                echo "                                            <option value=\"";
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["evaluated"]) ? $context["evaluated"] : null), "id"), "html", null, true);
                echo "\">
                                                ";
                // line 119
                echo twig_escape_filter($this->env, (((($this->getAttribute((isset($context["evaluated"]) ? $context["evaluated"] : null), "surname") . " ") . $this->getAttribute((isset($context["evaluated"]) ? $context["evaluated"] : null), "lastname")) . ", ") . $this->getAttribute((isset($context["evaluated"]) ? $context["evaluated"] : null), "names")), "html", null, true);
                echo "
                                            </option>
                                            ";
            } else {
                // line 122
                echo "                                            <option selected value=\"";
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["evaluated"]) ? $context["evaluated"] : null), "id"), "html", null, true);
                echo "\">
                                                ";
                // line 123
                echo twig_escape_filter($this->env, (((($this->getAttribute((isset($context["evaluated"]) ? $context["evaluated"] : null), "surname") . " ") . $this->getAttribute((isset($context["evaluated"]) ? $context["evaluated"] : null), "lastname")) . ", ") . $this->getAttribute((isset($context["evaluated"]) ? $context["evaluated"] : null), "names")), "html", null, true);
                echo "
                                            </option>
                                            ";
            }
            // line 126
            echo "                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['evaluated'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 127
        echo "                                    </select>
                                </div>
                            </div>
                            
                            <div class=\"formRow clearfix\">
                                <div class=\"grid2\"><label>Agrupado por</label><span class=\"req\">*</span></div>
                                <div class=\"grid6\">
                                    <select name=\"options_level\" id=\"options_level\" required>
                                        <option value>SELECCIONE UNA OPCIÓN</option>
                                        ";
        // line 136
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["levels"]) ? $context["levels"] : null));
        foreach ($context['_seq'] as $context["key"] => $context["value"]) {
            // line 137
            echo "                                            ";
            if (((isset($context["key"]) ? $context["key"] : null) != (isset($context["levelData"]) ? $context["levelData"] : null))) {
                // line 138
                echo "                                            <option value=\"";
                echo twig_escape_filter($this->env, (isset($context["key"]) ? $context["key"] : null), "html", null, true);
                echo "\">";
                echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : null), "html", null, true);
                echo "</option>
                                            ";
            } else {
                // line 140
                echo "                                            <option selected value=\"";
                echo twig_escape_filter($this->env, (isset($context["key"]) ? $context["key"] : null), "html", null, true);
                echo "\">";
                echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : null), "html", null, true);
                echo "</option>
                                            ";
            }
            // line 142
            echo "                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 143
        echo "                                    </select>
                                </div>
                            </div>
                          
                        </div>
      
                    </fieldset>
                    
                </div>
                <!-- /.tableDefault -->
                
                <div class=\"reportDashboardButton menuCrud clearfix\">

                    <ul class=\"record_actions\">
                        <li><button type=\"submit\" name=\"gerate_report\" value=\"1\" class=\"autoselectOptionData2 sideB bGreyish mt10\">Generar Reporte</button></li>

                        ";
        // line 159
        if ((((($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "currentrol"), "method") == "ROLE_ADMIN") || ($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "currentrol"), "method") == "ROLE_SUPER_ADMIN")) || ($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "currentrol"), "method") == "ROLE_TEACHER")) || ((isset($context["profile"]) ? $context["profile"] : null) == "company"))) {
            // line 160
            echo "                            ";
            if ((((isset($context["pollschedulingids"]) ? $context["pollschedulingids"] : null) != "") && ((isset($context["evaluatedData"]) ? $context["evaluatedData"] : null) != ""))) {
                // line 161
                echo "                                ";
                if (((($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "currentrol"), "method") == "ROLE_ADMIN") || ($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "currentrol"), "method") == "ROLE_SUPER_ADMIN")) || ($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session"), "get", array(0 => "currentrol"), "method") == "ROLE_TEACHER"))) {
                    // line 162
                    echo "                                <li><a href=\"";
                    echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_report_result_export", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "pollschedulingids" => (isset($context["pollschedulingids"]) ? $context["pollschedulingids"] : null), "evaluatedid" => (isset($context["evaluatedData"]) ? $context["evaluatedData"] : null))), "html", null, true);
                    echo "\" class=\"sideB bRed mt10\">Exportar a Excel</a></li>
                                ";
                } elseif (((isset($context["profile"]) ? $context["profile"] : null) == "company")) {
                    // line 164
                    echo "                                    <li><a href=\"";
                    echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_poll_report_result_export", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "pollschedulingids" => (isset($context["pollschedulingids"]) ? $context["pollschedulingids"] : null), "evaluatedid" => (isset($context["evaluatedData"]) ? $context["evaluatedData"] : null))), "html", null, true);
                    echo "\" class=\"sideB bRed mt10\">Exportar a Excel</a></li>
                                ";
                }
                // line 166
                echo "                            ";
            } else {
                // line 167
                echo "                            <li><span class=\"sideB bRed mt10 spanButton\">Exportar a Excel</span></li>
                            ";
            }
            // line 169
            echo "                        ";
        }
        // line 170
        echo "                        <li><a href=\"javascript:window.print()\" class=\"sideB bRed mt10\">Imprimir</a></li>
                    </ul>

                </div>
                <!-- /.menuCrud -->
                
            </form>
        
        </div>
        <!-- /.formCrudCreate -->

    </div>
    <!-- /.tableDefault -->
    
    ";
        // line 184
        if (array_key_exists("report_results", $context)) {
            // line 185
            echo "    <div class=\"widget tableDefault clearfix\">
        <div class=\"dataListTable\">
            <table class=\"records_list dataTable\">
                <thead>
                    <tr>
                        <th></th>
                        ";
            // line 191
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["header_results"]) ? $context["header_results"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["header"]) {
                // line 192
                echo "                            <th>";
                echo twig_escape_filter($this->env, (isset($context["header"]) ? $context["header"] : null), "html", null, true);
                echo "</th>
                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['header'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 194
            echo "                        <th><strong>Total empresa</strong></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class=\"mandatory\">Top 25%</td>
                        ";
            // line 200
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable(range(0, ((isset($context["count_horizontal"]) ? $context["count_horizontal"] : null) - 1)));
            foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
                // line 201
                echo "                            <td>";
                echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute((isset($context["ranking_top"]) ? $context["ranking_top"] : null), (isset($context["i"]) ? $context["i"] : null), array(), "array"), 2), "html", null, true);
                echo "%</td>
                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 203
            echo "                        <td><strong>";
            echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["ranking_top_total"]) ? $context["ranking_top_total"] : null), 2), "html", null, true);
            echo "%</strong></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    
    <div class=\"widget tableDefault clearfix\">
        <div class=\"dataListTable\">
            <table class=\"records_list dataTable\">
                <thead>
                    <tr>
                        <th>Sección / Pregunta</th>
                        ";
            // line 216
            $context["i"] = 0;
            // line 217
            echo "                        ";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["header_results"]) ? $context["header_results"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["header"]) {
                // line 218
                echo "                            <th>";
                echo twig_escape_filter($this->env, (isset($context["header"]) ? $context["header"] : null), "html", null, true);
                echo "</th>
                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['header'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 220
            echo "                        <th><strong>Promedio Total</strong></th>
                    </tr>
                </thead>
                <tbody>
                    ";
            // line 224
            $context["i"] = 0;
            // line 225
            echo "                    <tr>
                        <td class=\"mandatory\">Número de Evaluadores</td>
                        ";
            // line 227
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable(range(0, ((isset($context["count_horizontal"]) ? $context["count_horizontal"] : null) - 1)));
            foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
                // line 228
                echo "                            <td>";
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["number_evaluators"]) ? $context["number_evaluators"] : null), (isset($context["j"]) ? $context["j"] : null), array(), "array"), "html", null, true);
                echo "</td>
                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['j'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 230
            echo "                        <td></td>
                    </tr>
                    ";
            // line 232
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable(range(0, ((isset($context["count_vertical"]) ? $context["count_vertical"] : null) - 1)));
            foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
                // line 233
                echo "                    <tr>
                        ";
                // line 234
                $context["j"] = 0;
                // line 235
                echo "                        <td>";
                echo $this->getAttribute($this->getAttribute((isset($context["title_results"]) ? $context["title_results"] : null), (isset($context["i"]) ? $context["i"] : null), array(), "array"), "title");
                echo "</td>
                        ";
                // line 236
                $context['_parent'] = (array) $context;
                $context['_seq'] = twig_ensure_traversable(range(0, ((isset($context["count_horizontal"]) ? $context["count_horizontal"] : null) - 1)));
                foreach ($context['_seq'] as $context["_key"] => $context["j"]) {
                    // line 237
                    echo "                            <td>";
                    echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["report_results"]) ? $context["report_results"] : null), (isset($context["j"]) ? $context["j"] : null), array(), "array"), (isset($context["i"]) ? $context["i"] : null), array(), "array"), "percentage"), 2), "html", null, true);
                    echo "%</td>
                            ";
                    // line 238
                    $context["j"] = ((isset($context["j"]) ? $context["j"] : null) + 1);
                    // line 239
                    echo "                        ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['j'], $context['_parent'], $context['loop']);
                $context = array_merge($_parent, array_intersect_key($context, $_parent));
                // line 240
                echo "                        <td><strong>";
                echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute((isset($context["report_rows"]) ? $context["report_rows"] : null), (isset($context["i"]) ? $context["i"] : null), array(), "array"), 2), "html", null, true);
                echo "%</strong></td>
                    </tr>
                    ";
                // line 242
                $context["i"] = ((isset($context["i"]) ? $context["i"] : null) + 1);
                // line 243
                echo "                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 244
            echo "                    <tr>
                        <td><strong>Promedio Total</strong></td>
                        ";
            // line 246
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["total_results"]) ? $context["total_results"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["total"]) {
                // line 247
                echo "                            <td><strong>";
                echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute((isset($context["total"]) ? $context["total"] : null), "percentage"), 2), "html", null, true);
                echo "%</strong></td>
                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['total'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 249
            echo "                        <td><strong>";
            echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["row_results"]) ? $context["row_results"] : null), 2), "html", null, true);
            echo "%</strong></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    
    ";
        }
        // line 257
        echo "    
</div>
<!-- /.dataList -->

";
    }

    // line 51
    public function block___internal_21fba89ec604b7198c7f6adb66240b759f5abc65($context, array $blocks = array())
    {
        echo "Resultado de Encuestas";
    }

    // line 263
    public function block_javascripts($context, array $blocks = array())
    {
        // line 264
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 265
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_options_move.js"), "html", null, true);
        echo "\"></script>
<script type=\"text/javascript\" src=\"";
        // line 266
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_fischman.js"), "html", null, true);
        echo "\"></script>
<script type=\"text/javascript\" src=\"";
        // line 267
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_validate.js"), "html", null, true);
        echo "\"></script>
";
        // line 268
        echo (isset($context["globaljavascript"]) ? $context["globaljavascript"] : null);
        echo "
<script type=\"text/javascript\">
  var workshopschedulingid = '';
  var companyid = ";
        // line 271
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"), "html", null, true);
        echo ";
  var ids = '";
        // line 272
        echo twig_escape_filter($this->env, (isset($context["ids"]) ? $context["ids"] : null), "html", null, true);
        echo "';
</script>
<script type=\"text/javascript\" src=\"";
        // line 274
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/report_result_ajax.js"), "html", null, true);
        echo "\"></script>
";
    }

    public function getTemplateName()
    {
        return "FishmanFrontEndBundle:Dashboard/Poll/Report:result.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  608 => 274,  603 => 272,  599 => 271,  593 => 268,  589 => 267,  585 => 266,  581 => 265,  577 => 264,  574 => 263,  568 => 51,  560 => 257,  548 => 249,  539 => 247,  535 => 246,  531 => 244,  525 => 243,  523 => 242,  517 => 240,  511 => 239,  509 => 238,  504 => 237,  500 => 236,  495 => 235,  493 => 234,  490 => 233,  486 => 232,  482 => 230,  473 => 228,  469 => 227,  465 => 225,  463 => 224,  457 => 220,  448 => 218,  443 => 217,  441 => 216,  424 => 203,  415 => 201,  411 => 200,  403 => 194,  394 => 192,  390 => 191,  382 => 185,  380 => 184,  364 => 170,  361 => 169,  357 => 167,  354 => 166,  348 => 164,  342 => 162,  339 => 161,  336 => 160,  334 => 159,  316 => 143,  310 => 142,  302 => 140,  294 => 138,  291 => 137,  287 => 136,  276 => 127,  270 => 126,  264 => 123,  259 => 122,  253 => 119,  248 => 118,  245 => 117,  241 => 116,  229 => 106,  226 => 105,  220 => 104,  214 => 101,  209 => 100,  206 => 99,  201 => 98,  199 => 97,  187 => 87,  181 => 86,  175 => 83,  170 => 82,  167 => 81,  161 => 78,  156 => 77,  153 => 76,  150 => 75,  146 => 74,  135 => 66,  117 => 51,  107 => 44,  104 => 43,  99 => 40,  96 => 39,  89 => 35,  83 => 34,  79 => 33,  76 => 32,  73 => 31,  69 => 28,  66 => 27,  62 => 24,  59 => 23,  52 => 20,  49 => 19,  41 => 15,  39 => 14,  37 => 4,  34 => 3,);
    }
}
