<?php

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

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

        $this->blocks = array(
            '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_e6c2b2b6c305fd2c1309582a6ef30a3064961692' => array($this, 'block___internal_e6c2b2b6c305fd2c1309582a6ef30a3064961692'),
        );
    }

    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_subtitle($context, array $blocks = array())
    {
        echo "<span class=\"icon-screen\"></span>Reporte | Empresa : ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name"), "html", null, true);
    }

    // line 5
    public function block_top_navigation($context, array $blocks = array())
    {
        // line 6
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "report", "dashboard" => "all")));
    }

    // line 9
    public function block_navigation($context, array $blocks = array())
    {
        // line 10
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "report", "dashboard" => "all")));
    }

    // line 13
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 14
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li><a href=\"";
        // line 15
        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 16
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_report_follow"), "html", null, true);
        echo "\">Reportes: Seguimiento</a></li>
    <li class=\"current\"><a href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_report_follow_poll", array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name"), "html", null, true);
        echo "</a></li>
</ul>
";
    }

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

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

<div class=\"dataList\">

    <div class=\"menuCrud clearfix\">
        <ul>
            <li><a href=\"";
        // line 32
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_report_follow_poll_export", array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">Exportar a Excel</a></li>
            <li><a href=\"";
        // line 33
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_report_follow_poll_print", array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\" target=\"_blank\">Versión de impresión</a></li>
        </ul>
    </div>

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 40
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_e6c2b2b6c305fd2c1309582a6ef30a3064961692", $context, $blocks)), "html", null, true);
        echo "</h6>
        </div>
        
        <div class=\"tablePars clearfix\">
            <div class=\"dataTables_filter clearfix\">
                <form action=\"\" method=\"get\" ";
        // line 45
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'enctype');
        echo " class=\"clearfix\">
                    <div class=\"formRow formSequence clearfix\">
                        ";
        // line 47
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sequence"), 'label', array("label" => "Orden"));
        echo "
                        <div>";
        // line 48
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sequence"), 'widget', array("empty_value" => "Todos"));
        echo "</div>
                    </div>
                    <div class=\"formRow formRowWord clearfix\">
                        ";
        // line 51
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "word"), 'label', array("label" => "Nombre"));
        echo "
                        <div>";
        // line 52
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "word"), 'widget');
        echo "</div>
                    </div>
                    <div class=\"formRow formText clearfix\">
                        ";
        // line 55
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "resolved"), 'label', array("label" => "Resuelto"));
        echo "
                        <div>";
        // line 56
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "resolved"), 'widget');
        echo "</div>
                    </div>
                    <div class=\"formRow formDuration clearfix\">
                        ";
        // line 59
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "duration"), 'label', array("label" => "Duración"));
        echo "
                        <div>
                            ";
        // line 61
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "duration"), 'widget');
        echo "
                            ";
        // line 62
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "period"), 'widget', array("empty_value" => "Todos"));
        echo "
                        </div>
                    </div>
                    <div class=\"formRow formDatetime clearfix\">
                        ";
        // line 66
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "initdate"), 'label', array("label" => "Inicio"));
        echo "
                        <div>";
        // line 67
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "initdate"), 'widget', array("attr" => array("class" => "datepicker", "value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "initdate"), "vars"), "value"))));
        echo "</div>
                    </div>
                    <div class=\"formRow formDatetime clearfix\">
                        ";
        // line 70
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "enddate"), 'label', array("label" => "Fin"));
        echo "
                        <div>";
        // line 71
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "enddate"), 'widget', array("attr" => array("class" => "datepicker", "value" => $this->getAttribute($this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "enddate"), "vars"), "value"))));
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <button type=\"submit\" class=\"buttonSearch sideB\"></button>
                    </div>
                    <div class=\"hide\">
                        ";
        // line 77
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'widget');
        echo "
                    </div>
                </form>
            </div>
        </div>
        <!-- /.tablePars -->

        <div class=\"dataListTable\">
            <table class=\"records_list dataTable\">
                <thead>
                    <tr>
                        <th>Orden</th>
                        <th>Nombre</th>
                        <th>Resuelto</th>
                        <th>Duración</th>
                        <th>Inicio</th>
                        <th>Fin</th>
                        <th>Avance</th>
                        <th>Acción</th>
                    </tr>
                </thead>
                <tbody>
                ";
        // line 99
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["polls"]) ? $context["polls"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["poll"]) {
            // line 100
            echo "                    <tr>
                        <td>";
            // line 101
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "sequence"), "html", null, true);
            echo "</td>
                        <td><a href=\"";
            // line 102
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_report_follow_poll_show", array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"), "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></td>
                        <td>";
            // line 103
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "time_number"), "html", null, true);
            echo "</td>
                        <td>";
            // line 104
            echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "duration") . " ") . $this->env->getExtension('fishman_extension')->periodNameFilter($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "period"))), "html", null, true);
            echo "</td>
                        <td>";
            // line 105
            if ($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "initdate")) {
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "initdate"), "j/n/Y"), "html", null, true);
            }
            echo "</td>
                        <td>";
            // line 106
            if ($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "enddate")) {
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "enddate"), "j/n/Y"), "html", null, true);
            }
            echo "</td>
                        <td>";
            // line 107
            echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "percentaje"), 0), "html", null, true);
            echo "%</td>
                        <td class=\"actionsButtons actionsButtonsView\">
                            <ul>
                                <li>
                                    <a href=\"";
            // line 111
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_report_follow_poll_show", array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"), "pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
            echo "\" title =\"detalle\" class=\"tablectrl_small bDefault\"><span class=\"icos-preview\"></span></a>
                                </li>
                            </ul>
                        </td>
                    </tr>
                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['poll'], $context['_parent'], $context['loop']);
        $context = array_merge($_parent, array_intersect_key($context, $_parent));
        // line 117
        echo "                </tbody>
            </table>
            
            <div class=\"fg-toolbar tableFooter\">
              <div class=\"dataTables_info\">";
        // line 121
        echo twig_escape_filter($this->env, (isset($context["info_paginator"]) ? $context["info_paginator"] : null), "html", null, true);
        echo "</div>
              ";
        // line 122
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:paginator.html.twig")->display(array_merge($context, array("route" => "fishman_front_end_report_follow_poll", "rparams" => array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"), "form" => (isset($context["form_data"]) ? $context["form_data"] : null)), "id" => "reportcompanypolls")));
        // line 123
        echo "            </div>
            
        </div>
        <!-- /.dataListTable -->
        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

    // line 40
    public function block___internal_e6c2b2b6c305fd2c1309582a6ef30a3064961692($context, array $blocks = array())
    {
        echo "Seguimiento de Encuestas";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  300 => 40,  285 => 123,  283 => 122,  279 => 121,  273 => 117,  261 => 111,  254 => 107,  248 => 106,  242 => 105,  238 => 104,  234 => 103,  228 => 102,  224 => 101,  221 => 100,  217 => 99,  192 => 77,  183 => 71,  179 => 70,  173 => 67,  169 => 66,  162 => 62,  158 => 61,  153 => 59,  147 => 56,  143 => 55,  137 => 52,  133 => 51,  127 => 48,  123 => 47,  118 => 45,  110 => 40,  100 => 33,  96 => 32,  87 => 26,  84 => 25,  79 => 22,  76 => 21,  67 => 17,  63 => 16,  59 => 15,  56 => 14,  53 => 13,  49 => 10,  46 => 9,  42 => 6,  39 => 5,  32 => 3,);
    }
}
