<?php

/* FishmanFrontEndBundle:Dashboard/Report:counselor.html.twig */
class __TwigTemplate_94717e91533914c5e043b2938d449b96 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'),
            'content' => array($this, 'block_content'),
            '__internal_1b087bb4dfa8e960bb966b4d78c0b7d9e58ef145' => array($this, 'block___internal_1b087bb4dfa8e960bb966b4d78c0b7d9e58ef145'),
            '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_subtitle($context, array $blocks = array())
    {
        echo "<span class=\"icon-screen\"></span>reporte";
    }

    // 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 class=\"current\"><a href=\"";
        // line 16
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_report_counselor"), "html", null, true);
        echo "\">Reporte Consejero</a></li>
</ul>
";
    }

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

<div class=\"dataList\">

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 28
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_1b087bb4dfa8e960bb966b4d78c0b7d9e58ef145", $context, $blocks)), "html", null, true);
        echo "</h6>
        </div>
        
        <div class=\"tablePars clearfix\">
            <div class=\"dataTables_filter clearfix\">
                <form action=\"\" method=\"get\" ";
        // line 33
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'enctype');
        echo " class=\"clearfix\">
                    <div class=\"formRow formRowWord clearfix\">
                        ";
        // line 35
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "word"), 'label', array("label" => "Id / Nombre"));
        echo "
                        <div>";
        // line 36
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "word"), 'widget');
        echo "</div>
                    </div>
                    <div class=\"formRow clearfix\">
                        ";
        // line 39
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "company"), 'label', array("label" => "Empresa"));
        echo "
                        <div>";
        // line 40
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "company"), 'widget');
        echo "</div>
                    </div>
                    <div class=\"formRow formDatetime clearfix\">
                        ";
        // line 43
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "initdate"), 'label', array("label" => "Inicio"));
        echo "
                        <div>";
        // line 44
        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 47
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "enddate"), 'label', array("label" => "Fin"));
        echo "
                        <div>";
        // line 48
        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 54
        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>Id</th>
                        <th>Nombre</th>
                        <th>Empresa</th>
                        <th>Inicio</th>
                        <th>Fin</th>
                        <th>Avance</th>
                        <th>Acción</th>
                    </tr>
                </thead>
                <tbody>
                    ";
        // line 75
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["polls"]) ? $context["polls"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["poll"]) {
            // line 76
            echo "                    <tr>
                        <td>";
            // line 77
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"), "html", null, true);
            echo "</td>
                        <td><a href=\"";
            // line 78
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_report_counselor_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></td>
                        <td>";
            // line 79
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "company"), "html", null, true);
            echo "</td>
                        <td>";
            // line 80
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "initdate"), "d/m/Y"), "html", null, true);
            echo "</td>
                        <td>";
            // line 81
            echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "enddate"), "d/m/Y"), "html", null, true);
            echo "</td>
                        <td>";
            // line 82
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->calculatePercentageFunction($this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "quantity"), $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "total")), "html", null, true);
            echo "</td>
                        <td class=\"actionsButtons actionsButtonsView\">
                            <ul>
                                <li>
                                    <a href=\"";
            // line 86
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_report_counselor_poll", array("pollid" => $this->getAttribute((isset($context["poll"]) ? $context["poll"] : null), "id"))), "html", null, true);
            echo "\" class=\"tablectrl_small bDefault\" title=\"Ver\"><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 92
        echo "                </tbody>
            </table>
            
            <div class=\"fg-toolbar tableFooter\">
                <div class=\"dataTables_info\">";
        // line 96
        echo twig_escape_filter($this->env, (isset($context["info_paginator"]) ? $context["info_paginator"] : null), "html", null, true);
        echo "</div>
                ";
        // line 97
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:paginator.html.twig")->display(array_merge($context, array("route" => "fishman_front_end_report_counselor", "rparams" => array("form" => (isset($context["form_data"]) ? $context["form_data"] : null)), "id" => "reportcounselor")));
        // line 98
        echo "            </div>
            
        </div>
        <!-- /.dataListTable -->
        
    </div>
    <!-- /.tableDefault -->
    
</div>
<!-- /.dataList -->

";
    }

    // line 28
    public function block___internal_1b087bb4dfa8e960bb966b4d78c0b7d9e58ef145($context, array $blocks = array())
    {
        echo "Reporte Consejero";
    }

    // line 111
    public function block_javascripts($context, array $blocks = array())
    {
        // line 112
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 113
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_fischman.js"), "html", null, true);
        echo "\"></script>
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  250 => 113,  246 => 112,  243 => 111,  237 => 28,  222 => 98,  220 => 97,  216 => 96,  210 => 92,  198 => 86,  191 => 82,  187 => 81,  183 => 80,  179 => 79,  173 => 78,  169 => 77,  166 => 76,  162 => 75,  138 => 54,  129 => 48,  125 => 47,  119 => 44,  115 => 43,  109 => 40,  105 => 39,  99 => 36,  95 => 35,  90 => 33,  82 => 28,  72 => 21,  69 => 20,  62 => 16,  58 => 15,  55 => 14,  52 => 13,  48 => 10,  45 => 9,  41 => 6,  38 => 5,  32 => 3,);
    }
}
