<?php

/* FishmanEntityBundle:Company:show.html.twig */
class __TwigTemplate_e5e680f857e638ef1ecfc1f0e34a064a 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_8bfe1f10045bbe9f29c6b8789e8c8e7ad518a44a' => array($this, 'block___internal_8bfe1f10045bbe9f29c6b8789e8c8e7ad518a44a'),
        );
    }

    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>mantenimientos";
    }

    // 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" => "admin")));
    }

    // 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" => "admin")));
    }

    // 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("company"), "html", null, true);
        echo "\">Empresas</a></li>
    <li class=\"current\"><a href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company_show", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" title=\"\">";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : 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-companies\"></span><h5>Mantenimiento de Empresas: ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "name"), "html", null, true);
        echo "</h5>
";
    }

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

<div class=\"dataView\">

    <div class=\"menuCrud clearfix\">
        <ul>
            <li>
                <a href=\"";
        // line 33
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company_new"), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Crear Empresa
                </a>
            </li>
        </ul>
    </div>
    <!-- /.menuCrud -->

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 44
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_8bfe1f10045bbe9f29c6b8789e8c8e7ad518a44a", $context, $blocks)), "html", null, true);
        echo "</h6>
            <div class=\"navTabs\">
                <ul>
                    <li class=\"activeTab\"><a href=\"";
        // line 47
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company_show", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">General</a></li>
                    <li><a href=\"";
        // line 48
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("headquarter", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">Sedes</a></li>
                    <li><a href=\"";
        // line 49
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyorganizationalunit", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">Unidades Organizativas</a></li>
                    <li><a href=\"";
        // line 50
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companycharge", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">Cargos</a></li>
                    ";
        // line 51
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type") == "university")) {
            // line 52
            echo "                        <li><a href=\"";
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyfaculty", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
            echo "\">Facultades</a></li>
                        <li><a href=\"";
            // line 53
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companycareer", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
            echo "\">Carreras</a></li>
                    ";
        }
        // line 55
        echo "                    ";
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type") != "working")) {
            // line 56
            echo "                        <li><a href=\"";
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companycourse", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
            echo "\">Cursos</a></li>
                    ";
        }
        // line 57
        echo " 
                </ul>
            </div>
        </div>
        
        <div class=\"grid7 showData\">
            <div class=\"widget\">
                <table class=\"record_properties dataTable\">
                    <thead>
                        <tr>
                            <th>Campo</th>
                            <th>Dato</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <th class=\"textL\">Código</th>
                            <td>";
        // line 74
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "code"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Razón social</th>
                            <td>";
        // line 78
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "name"), "html", null, true);
        echo "</td>
                        </tr>
                        ";
        // line 80
        if ((!(null === $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "image")))) {
            // line 81
            echo "                        <tr>
                            <th class=\"textL\">Logo</th>
                            <td>
                              <img class=\"logoCompany\" src=\"";
            // line 84
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company_download", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
            echo "\" alt=\"";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "image"), "html", null, true);
            echo "\" />
</td>
                        </tr>
                        ";
        }
        // line 88
        echo "                        <tr>
                            <th class=\"textL\">RUC / NIT</th>
                            <td>";
        // line 90
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "ruc"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Tipo de Empresa</th>
                            <td>";
        // line 94
        echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->companyTypeFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type")), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Industria</th>
                            <td>";
        // line 98
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "industry"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Naturaleza</th>
                            <td>";
        // line 102
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "nature"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Contacto</th>
                            <td>";
        // line 106
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "contact"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Teléfono</th>
                            <td>";
        // line 110
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "phone"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Anexo</th>
                            <td>";
        // line 114
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "annex"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Celular</th>
                            <td>";
        // line 118
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "celphone"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Correo Contacto</th>
                            <td>";
        // line 122
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "email"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Volumen de Ventas</th>
                            <td>";
        // line 126
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "volume_business"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Número de Empleados</th>
                            <td>";
        // line 130
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "number_employees"), "html", null, true);
        echo "</td>
                        </tr>
                        ";
        // line 132
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type") == "school")) {
            // line 133
            echo "                        <tr>
                            <th class=\"textL\">Rango de Pensión</th>
                            <td>";
            // line 135
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "range_pension"), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Tipo</th>
                            <td>";
            // line 139
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->companyTypeNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type")), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Género</th>
                            <td>";
            // line 143
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->genderNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "gender")), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Número de Alumnos</th>
                            <td>";
            // line 147
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "number_students"), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Afiliación Religiosa</th>
                            <td>";
            // line 151
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "religious_affiliation"), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Afiliación Institucional</th>
                            <td>
                                <ul>
                                ";
            // line 157
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "institutional_affiliation"));
            foreach ($context['_seq'] as $context["_key"] => $context["ia"]) {
                echo " 
                                    <li>";
                // line 158
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["ia"]) ? $context["ia"] : null), "name"), "html", null, true);
                echo "</li>
                                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ia'], $context['_parent'], $context['loop']);
            $context = array_merge($_parent, array_intersect_key($context, $_parent));
            // line 160
            echo "                                </ul>
                            </td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Sistema Educativo</th>
                            <td>";
            // line 165
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->educationSystemNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "education_system")), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Bachillerato Intern. (IB)</th>
                            <td>";
            // line 169
            echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->booleanNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "internal_school")), "html", null, true);
            echo "</td>
                        </tr>
                        ";
        } elseif (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type") == "university")) {
            // line 172
            echo "                        <tr>
                            <th class=\"textL\">Rango de Pensión</th>
                            <td>";
            // line 174
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "range_pension"), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Tipo</th>
                            <td>";
            // line 178
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type"), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Número de Alumnos</th>
                            <td>";
            // line 182
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "number_students"), "html", null, true);
            echo "</td>
                        </tr>
                        ";
        }
        // line 185
        echo "                        <tr>
                            <th class=\"textL\">Estado</th>
                            <td>";
        // line 187
        echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->statusNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "status")), "html", null, true);
        echo "</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
                
        <div class=\"grid4 audit\">
            <div class=\"widget\">
                <div class=\"whead clearfix\">
                    <h6>Auditoría</h6>
                </div>
                <table class=\"audit_list dataTable\">
                    <tbody>
                        <tr>
                            <th class=\"textL\">Id</th>
                            <td>";
        // line 203
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Creado por</th>
                            <td>";
        // line 207
        echo twig_escape_filter($this->env, (isset($context["createdByName"]) ? $context["createdByName"] : null), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Creado el</th>
                            <td>";
        // line 211
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "created"), "d/m/Y - H:i"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Modificado por</th>
                            <td>";
        // line 215
        echo twig_escape_filter($this->env, (isset($context["modifiedByName"]) ? $context["modifiedByName"] : null), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Última modificación</th>
                            <td>";
        // line 219
        echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "changed"), "d/m/Y - H:i"), "html", null, true);
        echo "</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        
    </div>
    <!-- /.tableDefault -->
    
    <div class=\"menuCrud clearfix\">
        <ul class=\"record_actions\">
            <li>
                <a href=\"";
        // line 232
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company"), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">Regresar a la lista</a>
            </li>
            <li>
                <a href=\"";
        // line 235
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company_export", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bRed mt10\">Exportar</a>
            </li>
            <li>
                <a href=\"";
        // line 238
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company_drop", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bRed mt10\">Eliminar</a>
            </li>
            <li>
                <a href=\"";
        // line 241
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company_edit", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bRed mt10\">Editar</a>
            </li>
        </ul>
    </div>
    <!-- .menuCrud -->
    
</div>
<!-- /.dataView -->

";
    }

    // line 44
    public function block___internal_8bfe1f10045bbe9f29c6b8789e8c8e7ad518a44a($context, array $blocks = array())
    {
        echo "Detalle de Empresa";
    }

    public function getTemplateName()
    {
        return "FishmanEntityBundle:Company:show.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  481 => 44,  467 => 241,  461 => 238,  455 => 235,  449 => 232,  433 => 219,  426 => 215,  419 => 211,  412 => 207,  405 => 203,  386 => 187,  382 => 185,  376 => 182,  369 => 178,  362 => 174,  358 => 172,  352 => 169,  345 => 165,  338 => 160,  330 => 158,  324 => 157,  315 => 151,  308 => 147,  301 => 143,  294 => 139,  287 => 135,  283 => 133,  281 => 132,  276 => 130,  269 => 126,  262 => 122,  255 => 118,  248 => 114,  241 => 110,  234 => 106,  227 => 102,  220 => 98,  213 => 94,  206 => 90,  202 => 88,  193 => 84,  188 => 81,  186 => 80,  181 => 78,  174 => 74,  155 => 57,  149 => 56,  146 => 55,  141 => 53,  136 => 52,  134 => 51,  130 => 50,  126 => 49,  122 => 48,  118 => 47,  112 => 44,  98 => 33,  88 => 26,  85 => 25,  78 => 22,  75 => 21,  66 => 17,  62 => 16,  58 => 15,  55 => 14,  52 => 13,  48 => 10,  45 => 9,  41 => 6,  38 => 5,  32 => 3,);
    }
}
