<?php

/* FishmanEntityBundle:Headquarter:show.html.twig */
class __TwigTemplate_25312712204ec00f2d7b0c53b6c3a1fd 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_5616161ba027046be2a04d54531fff07e0a99c2e' => array($this, 'block___internal_5616161ba027046be2a04d54531fff07e0a99c2e'),
        );
    }

    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("headquarter", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\">Sedes</a></li>
    <li class=\"current\"><a href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("headquarter_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-users2\"></span><h5>Mantenimiento de Empresas: ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company"), "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("headquarter_new", array("companyid" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                    Crear Sede
                </a>
            </li>
        </ul>
    </div>
    <!-- /.menuCrud -->

    <div class=\"widget tableDefault clearfix\">
    
        <div class=\"whead clearfix\">
            <h6>";
        // line 46
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_5616161ba027046be2a04d54531fff07e0a99c2e", $context, $blocks)), "html", null, true);
        echo "</h6>
            <div class=\"navTabs\">
                <ul>
                    <li><a href=\"";
        // line 49
        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 class=\"activeTab\"><a href=\"";
        // line 50
        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><a href=\"";
        // line 51
        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 52
        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 53
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type") == "university")) {
            // line 54
            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 55
            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 57
        echo "                    ";
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "company_type") != "working")) {
            // line 58
            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 60
        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 76
        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 80
        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\">Dirección</th>
                            <td>";
        // line 84
        echo twig_escape_filter($this->env, (($this->env->getExtension('fishman_extension')->viaNameFilter($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "via")) . " | ") . $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "address")), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Urbanización</th>
                            <td>";
        // line 88
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "urbanization"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">País</th>
                            <td>";
        // line 92
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "country"), "html", null, true);
        echo "</td>
                        </tr>
                        ";
        // line 94
        if (($this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "country_id") == 1)) {
            // line 95
            echo "                        <tr>
                            <th class=\"textL\">Departamento</th>
                            <td>";
            // line 97
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "department"), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Provincia</th>
                            <td>";
            // line 101
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "province"), "html", null, true);
            echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Distrito</th>
                            <td>";
            // line 105
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "district"), "html", null, true);
            echo "</td>
                        </tr>
                        ";
        } else {
            // line 108
            echo "                        <tr>
                            <th class=\"textL\">Ciudad</th>
                            <td>";
            // line 110
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "city"), "html", null, true);
            echo "</td>
                        </tr>
                        ";
        }
        // line 113
        echo "                        <tr>
                            <th class=\"textL\">Central Telefónica</th>
                            <td>";
        // line 115
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["entity"]) ? $context["entity"] : null), "phone_station"), "html", null, true);
        echo "</td>
                        </tr>
                        <tr>
                            <th class=\"textL\">Estado</th>
                            <td>";
        // line 119
        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 135
        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 139
        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 143
        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 147
        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 151
        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 164
        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 "\" class=\"sideB bGreyish mt10\">Regresar a la lista</a>
            </li>
            <li>
                <a href=\"";
        // line 167
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("headquarter_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 170
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("headquarter_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 46
    public function block___internal_5616161ba027046be2a04d54531fff07e0a99c2e($context, array $blocks = array())
    {
        echo "Detalle de Sede";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  352 => 46,  338 => 170,  332 => 167,  326 => 164,  310 => 151,  303 => 147,  296 => 143,  289 => 139,  282 => 135,  263 => 119,  256 => 115,  252 => 113,  246 => 110,  242 => 108,  236 => 105,  229 => 101,  222 => 97,  218 => 95,  216 => 94,  211 => 92,  204 => 88,  197 => 84,  190 => 80,  183 => 76,  165 => 60,  159 => 58,  156 => 57,  151 => 55,  146 => 54,  144 => 53,  140 => 52,  136 => 51,  132 => 50,  128 => 49,  122 => 46,  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,);
    }
}
