<?php

/* FishmanEntityBundle:Companyorganizationalunit:show.html.twig */
class __TwigTemplate_8c601a2331b261564d1f08478d12ca6b 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_693142ee35065e7e36ef36f98c4f1f4b6f757a71' => array($this, 'block___internal_693142ee35065e7e36ef36f98c4f1f4b6f757a71'),
        );
    }

    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><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), "company_id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company"), "html", null, true);
        echo "</a></li>
    <li><a href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyorganizationalunit", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\">Unidades Organizativas</a></li>
    <li class=\"current\"><a href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyorganizationalunit_show", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "name"), "html", null, true);
        echo "</a></li>
</ul>
";
    }

    // line 23
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 24
        echo "<span class=\"icos-companies\"></span><h5>Mantenimiento de Empresas: ";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company") . ": ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "name")), "html", null, true);
        echo "</h5>
";
    }

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

<div class=\"dataView\">

    <div class=\"menuCrud clearfix\">
        <ul>
            <li>
                <a href=\"";
        // line 35
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyorganizationalunit_new", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Crear Unidad
                </a>
            </li>
            <li>
                <a href=\"";
        // line 40
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyorganizationalunit_import", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                   Importar Unidad
                </a>
            </li>
        </ul>
    </div>
    <!-- /.menuCrud -->

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 51
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_693142ee35065e7e36ef36f98c4f1f4b6f757a71", $context, $blocks)), "html", null, true);
        echo "</h6>
            <div class=\"navTabs\">
                <ul>
                    <li><a href=\"";
        // line 54
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company_show", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\">General</a></li>
                    <li><a href=\"";
        // line 55
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("headquarter", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\">Sedes</a></li>
                    <li class=\"activeTab\"><a href=\"";
        // line 56
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyorganizationalunit", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\">Unidades Organizativas</a></li>
                    <li><a href=\"";
        // line 57
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companycharge", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\">Cargos</a></li>
                    ";
        // line 58
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type") == "university")) {
            // line 59
            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), "company_id"))), "html", null, true);
            echo "\">Facultades</a></li>
                        <li><a href=\"";
            // line 60
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companycareer", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
            echo "\">Carreras</a></li>
                    ";
        }
        // line 62
        echo "                    ";
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type") != "working")) {
            // line 63
            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), "company_id"))), "html", null, true);
            echo "\">Cursos</a></li>
                    ";
        }
        // line 65
        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 81
        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\">Nombre</th>
                            <td>";
        // line 85
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "name"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Empresa</th>
                            <td>";
        // line 89
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Nombre Global</th>
                            <td>";
        // line 93
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "organizationalunit"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Tipo Nivel</th>
                            <td>";
        // line 97
        echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->ouTypeNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "type")), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Tipo Unidad</th>
                            <td>";
        // line 101
        echo twig_escape_filter($this->env, $this->env->getExtension('fishman_extension')->ouUnitTypeNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "unit_type")), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Unidad Padre</th>
                            <td>";
        // line 105
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "parent"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Responsable/Jefe</th>
                            <td>";
        // line 109
        echo twig_escape_filter($this->env, (((($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "boss_surname") . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "boss_lastname")) . " ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "boss_names")), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Estado</th>
                            <td>";
        // line 113
        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 129
        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 133
        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 137
        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 141
        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 145
        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 158
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyorganizationalunit", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">Regresar a la lista</a>
            </li>
            <li>
                <a href=\"";
        // line 161
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyorganizationalunit_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 164
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("companyorganizationalunit_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 51
    public function block___internal_693142ee35065e7e36ef36f98c4f1f4b6f757a71($context, array $blocks = array())
    {
        echo "Detalle de la Unidad Organizativa";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  336 => 51,  322 => 164,  316 => 161,  310 => 158,  294 => 145,  287 => 141,  280 => 137,  273 => 133,  266 => 129,  247 => 113,  240 => 109,  233 => 105,  226 => 101,  219 => 97,  212 => 93,  205 => 89,  198 => 85,  191 => 81,  173 => 65,  167 => 63,  164 => 62,  159 => 60,  154 => 59,  152 => 58,  148 => 57,  144 => 56,  140 => 55,  136 => 54,  130 => 51,  116 => 40,  108 => 35,  98 => 28,  95 => 27,  88 => 24,  85 => 23,  76 => 19,  72 => 18,  66 => 17,  62 => 16,  58 => 15,  55 => 14,  52 => 13,  48 => 10,  45 => 9,  41 => 6,  38 => 5,  32 => 3,);
    }
}
