<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* includes/layout/_header.html.twig */
class __TwigTemplate_feec71cdd7d658646ad3ce3d85ff5d22ec49368bcdb2778984c9d334c3b7a11e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "includes/layout/_header.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "includes/layout/_header.html.twig"));
// line 1
echo "
<!--begin::Header-->
<div id=\"kt_header\" class=\"header header-fixed\">
\t<!--begin::Container-->
\t<div class=\"container-fluid d-flex align-items-stretch justify-content-between\">
\t\t<!--begin::Header Menu Wrapper-->
\t\t<div class=\"header-menu-wrapper header-menu-wrapper-left align-self-center\" id=\"kt_header_menu_wrapper\">
\t\t";
// line 10
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "attributes", [], "any", false, false, false, 10), "get", [0 => "_route"], "method", false, false, false, 10) == "index1") || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "attributes", [], "any", false, false, false, 10), "get", [0 => "_route"], "method", false, false, false, 10) == "index2"))) {
// line 11
echo "\t\t\t<div class=\"topbar-item\" data-offset=\"0px,0px\">
\t\t\t\t<a href=\"";
// line 12
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index1");
echo "\">
\t\t\t\t\t<div class=\"btn btn-icon w-auto btn-clean d-flex align-items-center btn-lg px-2\">
\t\t\t\t\t\t<span class=\"text-dark-50 font-weight-bolder font-size-base d-md-inline mr-3\">Proceso simple</span>
\t\t\t\t\t\t<span class=\"symbol symbol-35 symbol-light-primary\">
\t\t\t\t\t\t\t<span class=\"symbol-label font-size-h5 font-weight-bold\">PS</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t</a>
\t\t\t</div>
\t\t\t<div class=\"topbar-item\" data-offset=\"0px,0px\">
\t\t\t\t<a href=\"";
// line 23
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index2");
echo "\">
\t\t\t\t\t<div class=\"btn btn-icon w-auto btn-clean d-flex align-items-center btn-lg px-2\">
\t\t\t\t\t\t<span class=\"text-dark-50 font-weight-bolder font-size-base d-md-inline mr-3\">Proceso compuesto</span>
\t\t\t\t\t\t<span class=\"symbol symbol-35 symbol-light-primary\">
\t\t\t\t\t\t\t<span class=\"symbol-label font-size-h5 font-weight-bold\">PC</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t</a>
\t\t\t</div>
\t\t";
}
// line 33
echo "\t\t\t<!--end::Toggle-->
\t\t\t<!--begin::Header Logo-->
\t\t\t<!--end::Header Logo-->
\t\t\t";
// line 38
$context["cur_route_name"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 38), "attributes", [], "any", false, true, false, 38), "get", [0 => "_route"], "method", true, true, false, 38)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 38), "attributes", [], "any", false, true, false, 38), "get", [0 => "_route"], "method", false, false, false, 38), ((array_key_exists("_route", $context)) ? (_twig_default_filter((isset($context["_route"]) || array_key_exists("_route", $context) ? $context["_route"] : (function () { throw new RuntimeError('Variable "_route" does not exist.', 38, $this->source); })()), "")) : ("")))) : (((array_key_exists("_route", $context)) ? (_twig_default_filter((isset($context["_route"]) || array_key_exists("_route", $context) ? $context["_route"] : (function () { throw new RuntimeError('Variable "_route" does not exist.', 38, $this->source); })()), "")) : (""))));
// line 39
echo "
\t\t\t<!--begin::Header Menu-->
\t\t\t<div class=\"menu-resp\">
\t\t\t\t<div id=\"kt_header_menu\" class=\"header-menu header-menu-mobile header-menu-layout-default header-menu-root-arrow\">
\t\t\t\t\t<!--begin::Header Nav-->
\t\t\t\t\t<ul class=\"menu-nav\">
\t\t\t\t\t\t";
// line 45
$context["perm_regpro_new"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_REG_PROCESO_CREATE");
// line 46
echo "
\t\t\t\t\t\t";
// line 47
if ((isset($context["perm_regpro_new"]) || array_key_exists("perm_regpro_new", $context) ? $context["perm_regpro_new"] : (function () { throw new RuntimeError('Variable "perm_regpro_new" does not exist.', 47, $this->source); })())) {
// line 48
echo "\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon flaticon2-add-square\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Crear nuevo proceso</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 58
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index1");
echo "\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Proceso simple</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 67
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index2");
echo "\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Proceso compuesto</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t";
}
// line 78
echo "
\t\t\t\t\t\t";
// line 79
$context["perm_regpro"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_REG_PROCESO");
// line 80
echo "\t\t\t\t\t\t";
$context["current_regpro"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 80, $this->source); })()), [0 => "regpro_index", 1 => "regpro_view"]);
// line 81
echo "\t\t\t\t\t\t";
$context["perm_regfase"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_REG_FASE");
// line 82
echo "\t\t\t\t\t\t";
$context["current_regfase"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 82, $this->source); })()), [0 => "regfase_index", 1 => "regfase_view"]);
// line 83
echo "\t\t\t\t\t\t";
$context["current_reg_menu"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 83, $this->source); })()), [0 => "regpro_index", 1 => "regpro_view", 2 => "regfase_index", 3 => "regfase_view"]);
// line 84
echo "
\t\t\t\t\t\t";
// line 85
if (((isset($context["perm_regpro"]) || array_key_exists("perm_regpro", $context) ? $context["perm_regpro"] : (function () { throw new RuntimeError('Variable "perm_regpro" does not exist.', 85, $this->source); })()) || (isset($context["perm_regfase"]) || array_key_exists("perm_regfase", $context) ? $context["perm_regfase"] : (function () { throw new RuntimeError('Variable "perm_regfase" does not exist.', 85, $this->source); })()))) {
// line 86
echo "\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu ";
echo (((isset($context["current_reg_menu"]) || array_key_exists("current_reg_menu", $context) ? $context["current_reg_menu"] : (function () { throw new RuntimeError('Variable "current_reg_menu" does not exist.', 86, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon flaticon-list-2\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Registros</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t";
// line 96
if ((isset($context["perm_regpro"]) || array_key_exists("perm_regpro", $context) ? $context["perm_regpro"] : (function () { throw new RuntimeError('Variable "perm_regpro" does not exist.', 96, $this->source); })())) {
// line 97
echo "\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item ";
echo (((isset($context["current_regpro"]) || array_key_exists("current_regpro", $context) ? $context["current_regpro"] : (function () { throw new RuntimeError('Variable "current_regpro" does not exist.', 97, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 98
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("regpro_index");
echo "\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Procesos</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t";
}
// line 106
echo "
\t\t\t\t\t\t\t\t\t";
// line 107
if ((isset($context["perm_regfase"]) || array_key_exists("perm_regfase", $context) ? $context["perm_regfase"] : (function () { throw new RuntimeError('Variable "perm_regfase" does not exist.', 107, $this->source); })())) {
// line 108
echo "\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item ";
echo (((isset($context["current_regfase"]) || array_key_exists("current_regfase", $context) ? $context["current_regfase"] : (function () { throw new RuntimeError('Variable "current_regfase" does not exist.', 108, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 109
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("regfase_index");
echo "\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Fases</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t";
}
// line 117
echo "\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t";
}
// line 122
echo "
\t\t\t\t\t\t";
// line 123
$context["perm_proc"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PROCESO");
// line 124
echo "\t\t\t\t\t\t";
$context["current_proc"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 124, $this->source); })()), [0 => "proceso_index", 1 => "proceso_view", 2 => "proceso_new", 3 => "proceso_edit", 4 => "proceso_delete"]);
// line 125
echo "\t\t\t\t\t\t";
$context["current_prod_menu"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 125, $this->source); })()), [0 => "proceso_index", 1 => "proceso_view", 2 => "proceso_new", 3 => "proceso_edit", 4 => "proceso_delete"]);
// line 126
echo "
\t\t\t\t\t\t";
// line 127
if ((isset($context["perm_proc"]) || array_key_exists("perm_proc", $context) ? $context["perm_proc"] : (function () { throw new RuntimeError('Variable "perm_proc" does not exist.', 127, $this->source); })())) {
// line 128
echo "\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu ";
echo (((isset($context["current_prod_menu"]) || array_key_exists("current_prod_menu", $context) ? $context["current_prod_menu"] : (function () { throw new RuntimeError('Variable "current_prod_menu" does not exist.', 128, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon flaticon-web\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Producción</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t\t";
// line 138
if ((isset($context["perm_proc"]) || array_key_exists("perm_proc", $context) ? $context["perm_proc"] : (function () { throw new RuntimeError('Variable "perm_proc" does not exist.', 138, $this->source); })())) {
// line 139
echo "\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item ";
echo (((isset($context["current_proc"]) || array_key_exists("current_proc", $context) ? $context["current_proc"] : (function () { throw new RuntimeError('Variable "current_proc" does not exist.', 139, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 140
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("proceso_index");
echo "\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Procesos</span>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t";
}
// line 148
echo "
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t";
}
// line 153
echo "
\t\t\t\t\t\t";
// line 154
$context["perm_user"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USR");
// line 155
echo "\t\t\t\t\t\t";
$context["curent_user"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 155, $this->source); })()), [0 => "usuario_index", 1 => "usuario_view", 2 => "usuario_new", 3 => "usuario_edit", 4 => "usuario_delete"]);
// line 156
echo "\t\t\t\t\t\t";
$context["perm_emp"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_EMPRESA");
// line 157
echo "\t\t\t\t\t\t";
$context["curent_emp"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 157, $this->source); })()), [0 => "empresa_index", 1 => "empresa_view", 2 => "empresa_new", 3 => "empresa_edit", 4 => "empresa_delete"]);
// line 158
echo "\t\t\t\t\t\t";
$context["current_adm_menu"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 158, $this->source); })()), [0 => "usuario_index", 1 => "usuario_view", 2 => "usuario_new", 3 => "usuario_edit", 4 => "usuario_delete", 5 => "empresa_index", 6 => "empresa_view", 7 => "empresa_new", 8 => "empresa_edit", 9 => "empresa_delete"]);
// line 159
echo "
\t\t\t\t\t\t";
// line 160
if (((isset($context["perm_user"]) || array_key_exists("perm_user", $context) ? $context["perm_user"] : (function () { throw new RuntimeError('Variable "perm_user" does not exist.', 160, $this->source); })()) || (isset($context["perm_emp"]) || array_key_exists("perm_emp", $context) ? $context["perm_emp"] : (function () { throw new RuntimeError('Variable "perm_emp" does not exist.', 160, $this->source); })()))) {
// line 161
echo "\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu ";
echo (((isset($context["current_adm_menu"]) || array_key_exists("current_adm_menu", $context) ? $context["current_adm_menu"] : (function () { throw new RuntimeError('Variable "current_adm_menu" does not exist.', 161, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon far fa-clipboard\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Administración</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t\t";
// line 171
if ((isset($context["perm_user"]) || array_key_exists("perm_user", $context) ? $context["perm_user"] : (function () { throw new RuntimeError('Variable "perm_user" does not exist.', 171, $this->source); })())) {
// line 172
echo "\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item ";
echo (((isset($context["curent_user"]) || array_key_exists("curent_user", $context) ? $context["curent_user"] : (function () { throw new RuntimeError('Variable "curent_user" does not exist.', 172, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 173
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("usuario_index");
echo "\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Usuarios</span>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t";
}
// line 181
echo "
\t\t\t\t\t\t\t\t\t\t";
// line 182
if ((isset($context["perm_user"]) || array_key_exists("perm_user", $context) ? $context["perm_user"] : (function () { throw new RuntimeError('Variable "perm_user" does not exist.', 182, $this->source); })())) {
// line 183
echo "\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item ";
echo (((isset($context["curent_emp"]) || array_key_exists("curent_emp", $context) ? $context["curent_emp"] : (function () { throw new RuntimeError('Variable "curent_emp" does not exist.', 183, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 184
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("empresa_index");
echo "\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Empresas</span>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t";
}
// line 192
echo "
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t";
}
// line 197
echo "
\t\t\t\t\t\t";
// line 198
$context["perm_config"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CONFIG");
// line 199
echo "\t\t\t\t\t\t";
$context["curent_config"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 199, $this->source); })()), [0 => "config_index", 1 => "config_view", 2 => "config_new", 3 => "config_edit", 4 => "config_delete"]);
// line 200
echo "\t\t\t\t\t\t";
$context["curent_config_menu"] = twig_in_filter((isset($context["cur_route_name"]) || array_key_exists("cur_route_name", $context) ? $context["cur_route_name"] : (function () { throw new RuntimeError('Variable "cur_route_name" does not exist.', 200, $this->source); })()), [0 => "config_index", 1 => "config_view", 2 => "config_new", 3 => "config_edit", 4 => "config_delete"]);
// line 201
echo "
\t\t\t\t\t\t";
// line 202
if ((isset($context["perm_config"]) || array_key_exists("perm_config", $context) ? $context["perm_config"] : (function () { throw new RuntimeError('Variable "perm_config" does not exist.', 202, $this->source); })())) {
// line 203
echo "\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu ";
echo (((isset($context["curent_config_menu"]) || array_key_exists("curent_config_menu", $context) ? $context["curent_config_menu"] : (function () { throw new RuntimeError('Variable "curent_config_menu" does not exist.', 203, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon flaticon-cogwheel-2\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Ajustes</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t\t";
// line 213
if ((isset($context["perm_config"]) || array_key_exists("perm_config", $context) ? $context["perm_config"] : (function () { throw new RuntimeError('Variable "perm_config" does not exist.', 213, $this->source); })())) {
// line 214
echo "\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item ";
echo (((isset($context["curent_config"]) || array_key_exists("curent_config", $context) ? $context["curent_config"] : (function () { throw new RuntimeError('Variable "curent_config" does not exist.', 214, $this->source); })())) ? ("menu-item-active") : (""));
echo "\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 215
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("config_index");
echo "\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Configuración</span>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t";
}
// line 223
echo "
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t";
}
// line 228
echo "\t\t\t\t\t</ul>
\t\t\t\t\t<!--end::Header Nav-->
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<!--end::Header Menu-->
\t\t</div>
\t\t<!--end::Header Menu Wrapper-->
\t\t<!--begin::Topbar-->
\t\t<div class=\"topbar\">
\t\t\t<!--end::Languages-->
\t\t\t
\t\t\t<!--begin::User-->
\t\t\t<div class=\"dropdown\">
\t\t\t";
// line 247
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 247, $this->source); })()), "user", [], "any", false, false, false, 247)) {
// line 248
echo "\t\t\t\t<!--begin::Toggle-->
\t\t\t\t<div class=\"topbar-item\" data-toggle=\"dropdown\" data-offset=\"0px,0px\">
\t\t\t\t\t<div class=\"btn btn-icon w-auto btn-clean d-flex align-items-center btn-lg px-2\">
\t\t\t\t\t\t<span class=\"text-muted font-weight-bold font-size-base d-none d-md-inline mr-1\">Bienvenido,</span>
\t\t\t\t\t\t<span class=\"text-dark-50 font-weight-bolder font-size-base d-md-inline mr-3\">";
// line 252
((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 252, $this->source); })()), "user", [], "any", false, false, false, 252)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 252, $this->source); })()), "user", [], "any", false, false, false, 252), "username", [], "any", false, false, false, 252), "html", null, true))) : (print ("Administrador")));
echo "</span>
\t\t\t\t\t\t<span class=\"symbol symbol-35 symbol-light-primary\">
\t\t\t\t\t\t\t<span class=\"symbol-label font-size-h5 font-weight-bold\">";
// line 254
((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 254, $this->source); })()), "user", [], "any", false, false, false, 254)) ? (print (twig_escape_filter($this->env, twig_upper_filter($this->env, twig_first($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 254, $this->source); })()), "user", [], "any", false, false, false, 254), "username", [], "any", false, false, false, 254))), "html", null, true))) : (print ("A")));
echo "</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<!--end::Toggle-->
\t\t\t\t<!--begin::Dropdown-->
\t\t\t\t<div class=\"dropdown-menu p-0 m-0 dropdown-menu-right dropdown-menu-anim-up dropdown-menu-lg p-0\">
\t\t\t\t\t";
// line 263
echo twig_include($this->env, $context, "includes/layout/_extras/dropdown/user.html.twig");
echo "
\t\t\t\t\t<!--[html-partial:include:{\"file\":\"partials/_extras/dropdown/user.html\"}]/-->
\t\t\t\t</div>
\t\t\t";
} else {
// line 267
echo "\t\t\t\t<div class=\"topbar-item\" data-offset=\"0px,0px\">
\t\t\t\t\t<a href=\"";
// line 268
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "\">
\t\t\t\t\t\t<div class=\"btn btn-icon w-auto btn-clean d-flex align-items-center btn-lg px-2\">
\t\t\t\t\t\t\t<span class=\"text-dark-50 font-weight-bolder font-size-base d-md-inline mr-3\">Iniciar sesión</span>
\t\t\t\t\t\t\t<span class=\"symbol symbol-35 symbol-light-success\">
\t\t\t\t\t\t\t\t<span class=\"symbol-label font-size-h5 font-weight-bold\">";
// line 272
((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 272, $this->source); })()), "user", [], "any", false, false, false, 272)) ? (print (twig_escape_filter($this->env, twig_upper_filter($this->env, twig_first($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 272, $this->source); })()), "user", [], "any", false, false, false, 272), "username", [], "any", false, false, false, 272))), "html", null, true))) : (print ("A")));
echo "</span>
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t";
}
// line 278
echo "
\t\t\t\t<!--end::Dropdown-->
\t\t\t</div>
\t\t\t<!--end::User-->
\t\t</div>
\t\t<!--end::Topbar-->
\t</div>
\t<!--end::Container-->
</div>
<!--end::Header-->";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "includes/layout/_header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 494 => 278, 485 => 272, 478 => 268, 475 => 267, 468 => 263, 456 => 254, 451 => 252, 445 => 248, 443 => 247, 422 => 228, 415 => 223, 404 => 215, 399 => 214, 397 => 213, 383 => 203, 381 => 202, 378 => 201, 375 => 200, 372 => 199, 370 => 198, 367 => 197, 360 => 192, 349 => 184, 344 => 183, 342 => 182, 339 => 181, 328 => 173, 323 => 172, 321 => 171, 307 => 161, 305 => 160, 302 => 159, 299 => 158, 296 => 157, 293 => 156, 290 => 155, 288 => 154, 285 => 153, 278 => 148, 267 => 140, 262 => 139, 260 => 138, 246 => 128, 244 => 127, 241 => 126, 238 => 125, 235 => 124, 233 => 123, 230 => 122, 223 => 117, 212 => 109, 207 => 108, 205 => 107, 202 => 106, 191 => 98, 186 => 97, 184 => 96, 170 => 86, 168 => 85, 165 => 84, 162 => 83, 159 => 82, 156 => 81, 153 => 80, 151 => 79, 148 => 78, 134 => 67, 122 => 58, 110 => 48, 108 => 47, 105 => 46, 103 => 45, 95 => 39, 93 => 38, 86 => 33, 73 => 23, 59 => 12, 56 => 11, 54 => 10, 43 => 1,);
}
public function getSourceContext()
{
return new Source("
<!--begin::Header-->
<div id=\"kt_header\" class=\"header header-fixed\">
\t<!--begin::Container-->
\t<div class=\"container-fluid d-flex align-items-stretch justify-content-between\">
\t\t<!--begin::Header Menu Wrapper-->
\t\t<div class=\"header-menu-wrapper header-menu-wrapper-left align-self-center\" id=\"kt_header_menu_wrapper\">
\t\t{% if app.request.attributes.get('_route') == 'index1' or app.request.attributes.get('_route') == 'index2' %}
\t\t\t<div class=\"topbar-item\" data-offset=\"0px,0px\">
\t\t\t\t<a href=\"{{ path('index1') }}\">
\t\t\t\t\t<div class=\"btn btn-icon w-auto btn-clean d-flex align-items-center btn-lg px-2\">
\t\t\t\t\t\t<span class=\"text-dark-50 font-weight-bolder font-size-base d-md-inline mr-3\">Proceso simple</span>
\t\t\t\t\t\t<span class=\"symbol symbol-35 symbol-light-primary\">
\t\t\t\t\t\t\t<span class=\"symbol-label font-size-h5 font-weight-bold\">PS</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t</a>
\t\t\t</div>
\t\t\t<div class=\"topbar-item\" data-offset=\"0px,0px\">
\t\t\t\t<a href=\"{{ path('index2') }}\">
\t\t\t\t\t<div class=\"btn btn-icon w-auto btn-clean d-flex align-items-center btn-lg px-2\">
\t\t\t\t\t\t<span class=\"text-dark-50 font-weight-bolder font-size-base d-md-inline mr-3\">Proceso compuesto</span>
\t\t\t\t\t\t<span class=\"symbol symbol-35 symbol-light-primary\">
\t\t\t\t\t\t\t<span class=\"symbol-label font-size-h5 font-weight-bold\">PC</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t</a>
\t\t\t</div>
\t\t{% endif %}
\t\t\t<!--end::Toggle-->
\t\t\t<!--begin::Header Logo-->
\t\t\t<!--end::Header Logo-->
\t\t\t{% set cur_route_name = app.request.attributes.get('_route') | default(_route | default('')) %}
\t\t\t<!--begin::Header Menu-->
\t\t\t<div class=\"menu-resp\">
\t\t\t\t<div id=\"kt_header_menu\" class=\"header-menu header-menu-mobile header-menu-layout-default header-menu-root-arrow\">
\t\t\t\t\t<!--begin::Header Nav-->
\t\t\t\t\t<ul class=\"menu-nav\">
\t\t\t\t\t\t{% set perm_regpro_new\t\t= is_granted('ROLE_REG_PROCESO_CREATE') %}
\t\t\t\t\t\t{% if perm_regpro_new %}
\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon flaticon2-add-square\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Crear nuevo proceso</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('index1') }}\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Proceso simple</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('index2') }}\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Proceso compuesto</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% set perm_regpro\t\t\t= is_granted('ROLE_REG_PROCESO') %}
\t\t\t\t\t\t{% set current_regpro \t\t= cur_route_name in ['regpro_index', 'regpro_view'] %}
\t\t\t\t\t\t{% set perm_regfase\t\t\t= is_granted('ROLE_REG_FASE') %}
\t\t\t\t\t\t{% set current_regfase \t\t= cur_route_name in ['regfase_index', 'regfase_view'] %}
\t\t\t\t\t\t{% set current_reg_menu \t= cur_route_name in ['regpro_index', 'regpro_view', 'regfase_index', 'regfase_view'] %}
\t\t\t\t\t\t{% if perm_regpro or perm_regfase %}
\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu {{ current_reg_menu ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon flaticon-list-2\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Registros</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t{% if perm_regpro %}
\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item {{ current_regpro ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('regpro_index') }}\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Procesos</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% if perm_regfase %}
\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item {{ current_regfase ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('regfase_index') }}\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Fases</span>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% set perm_proc\t\t= is_granted('ROLE_PROCESO') %}
\t\t\t\t\t\t{% set current_proc \t= cur_route_name in ['proceso_index', 'proceso_view', 'proceso_new', 'proceso_edit', 'proceso_delete'] %}
\t\t\t\t\t\t{% set current_prod_menu \t= cur_route_name in ['proceso_index', 'proceso_view', 'proceso_new', 'proceso_edit', 'proceso_delete'] %}
\t\t\t\t\t\t{% if perm_proc %}
\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu {{ current_prod_menu ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon flaticon-web\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Producción</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t\t{% if perm_proc %}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item {{ current_proc ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('proceso_index') }}\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Procesos</span>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% set perm_user\t\t= is_granted('ROLE_USR') %}
\t\t\t\t\t\t{% set curent_user \t\t= cur_route_name in ['usuario_index', 'usuario_view', 'usuario_new', 'usuario_edit', 'usuario_delete'] %}
\t\t\t\t\t\t{% set perm_emp\t\t\t= is_granted('ROLE_EMPRESA') %}
\t\t\t\t\t\t{% set curent_emp\t\t= cur_route_name in ['empresa_index', 'empresa_view', 'empresa_new', 'empresa_edit', 'empresa_delete'] %}
\t\t\t\t\t\t{% set current_adm_menu = cur_route_name in ['usuario_index', 'usuario_view', 'usuario_new', 'usuario_edit', 'usuario_delete', 'empresa_index', 'empresa_view', 'empresa_new', 'empresa_edit', 'empresa_delete'] %}
\t\t\t\t\t\t{% if perm_user or perm_emp %}
\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu {{ current_adm_menu ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon far fa-clipboard\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Administración</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t\t{% if perm_user %}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item {{ curent_user ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('usuario_index') }}\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Usuarios</span>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% if perm_user %}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item {{ curent_emp ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('empresa_index') }}\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Empresas</span>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% set perm_config\t\t= is_granted('ROLE_CONFIG') %}
\t\t\t\t\t\t{% set curent_config \t= cur_route_name in ['config_index', 'config_view', 'config_new', 'config_edit', 'config_delete'] %}
\t\t\t\t\t\t{% set curent_config_menu \t= cur_route_name in ['config_index', 'config_view', 'config_new', 'config_edit', 'config_delete'] %}
\t\t\t\t\t\t{% if perm_config %}
\t\t\t\t\t\t\t<li class=\"menu-item menu-item-submenu {{ curent_config_menu ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t<a href=\"\" class=\"menu-link menu-toggle\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-icon flaticon-cogwheel-2\"></i>
\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Ajustes</span>
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t<div class=\"menu-submenu\">
\t\t\t\t\t\t\t\t\t<i class=\"menu-arrow\"></i>
\t\t\t\t\t\t\t\t\t<ul class=\"menu-subnav\">
\t\t\t\t\t\t\t\t\t\t{% if perm_config %}
\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu-item {{ curent_config ? 'menu-item-active' : \"\"}}\" aria-haspopup=\"true\">
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('config_index') }}\" class=\"menu-link\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"menu-bullet menu-bullet-line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span></span>
\t\t\t\t\t\t\t\t\t\t\t\t\t</i>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"menu-text\">Configuración</span>
\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</ul>
\t\t\t\t\t<!--end::Header Nav-->
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<!--end::Header Menu-->
\t\t</div>
\t\t<!--end::Header Menu Wrapper-->
\t\t<!--begin::Topbar-->
\t\t<div class=\"topbar\">
\t\t\t<!--end::Languages-->
\t\t\t
\t\t\t<!--begin::User-->
\t\t\t<div class=\"dropdown\">
\t\t\t{% if app.user %}
\t\t\t\t<!--begin::Toggle-->
\t\t\t\t<div class=\"topbar-item\" data-toggle=\"dropdown\" data-offset=\"0px,0px\">
\t\t\t\t\t<div class=\"btn btn-icon w-auto btn-clean d-flex align-items-center btn-lg px-2\">
\t\t\t\t\t\t<span class=\"text-muted font-weight-bold font-size-base d-none d-md-inline mr-1\">Bienvenido,</span>
\t\t\t\t\t\t<span class=\"text-dark-50 font-weight-bolder font-size-base d-md-inline mr-3\">{{ app.user ? app.user.username : 'Administrador' }}</span>
\t\t\t\t\t\t<span class=\"symbol symbol-35 symbol-light-primary\">
\t\t\t\t\t\t\t<span class=\"symbol-label font-size-h5 font-weight-bold\">{{ app.user ? app.user.username|first|upper : 'A' }}</span>
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<!--end::Toggle-->
\t\t\t\t<!--begin::Dropdown-->
\t\t\t\t<div class=\"dropdown-menu p-0 m-0 dropdown-menu-right dropdown-menu-anim-up dropdown-menu-lg p-0\">
\t\t\t\t\t{{ include('includes/layout/_extras/dropdown/user.html.twig') }}
\t\t\t\t\t<!--[html-partial:include:{\"file\":\"partials/_extras/dropdown/user.html\"}]/-->
\t\t\t\t</div>
\t\t\t{% else %}
\t\t\t\t<div class=\"topbar-item\" data-offset=\"0px,0px\">
\t\t\t\t\t<a href=\"{{ path('app_login') }}\">
\t\t\t\t\t\t<div class=\"btn btn-icon w-auto btn-clean d-flex align-items-center btn-lg px-2\">
\t\t\t\t\t\t\t<span class=\"text-dark-50 font-weight-bolder font-size-base d-md-inline mr-3\">Iniciar sesión</span>
\t\t\t\t\t\t\t<span class=\"symbol symbol-35 symbol-light-success\">
\t\t\t\t\t\t\t\t<span class=\"symbol-label font-size-h5 font-weight-bold\">{{ app.user ? app.user.username|first|upper : 'A' }}</span>
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</div>
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t\t<!--end::Dropdown-->
\t\t\t</div>
\t\t\t<!--end::User-->
\t\t</div>
\t\t<!--end::Topbar-->
\t</div>
\t<!--end::Container-->
</div>
<!--end::Header-->", "includes/layout/_header.html.twig", "/var/www/vhosts/apunts.es/jramos.apunts.es/templates/includes/layout/_header.html.twig");
}
}