- Deshabilita la paginación para mostrar todos los atributos por defecto. - Corrige un error de renderizado en 'atributos-valores.tpl' añadiendo etiquetas de cierre faltantes. - Cambia el orden de los atributos a 'atributoId' en 'atributo.class.php'. - Corrige un bug en 'atributoValor.class.php' descomentando una condición. - Asegura que las acciones AJAX (añadir, editar, eliminar) refresquen la lista correctamente sin paginación.
86 lines
5.4 KiB
PHP
86 lines
5.4 KiB
PHP
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
|
|
compiled from "/var/www/html/ventas/templates/header.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:683344557695f506f39ce51-64905533%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'27570b10fa6af06579c60ea0a36ab2ec4691ad05' =>
|
|
array (
|
|
0 => '/var/www/html/ventas/templates/header.tpl',
|
|
1 => 1767836456,
|
|
),
|
|
),
|
|
'nocache_hash' => '683344557695f506f39ce51-64905533',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<div id="fview" style="display:none;">
|
|
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/load.gif" border="0" /></div>
|
|
<div id="fviewcontent" style="display:none"></div>
|
|
</div>
|
|
|
|
<div id="fviewVta" style="display:none;">
|
|
<div id="fviewload" style="display:block"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/load.gif" border="0" /></div>
|
|
<div id="fviewcontent" style="display:none"></div>
|
|
</div>
|
|
|
|
<div class="grid_8" id="logo" style="height:69px; padding:0px 0px 0px 10px; width:500px">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/logo.png" width="286" height="63" align="left" />
|
|
<div style="float:left; padding-top:0px; padding-left:5px">Sistema de Admón.</div>
|
|
</div>
|
|
|
|
<!-- USER TOOLS START -->
|
|
<div class="grid_8" style="width:320px; float:right">
|
|
<div id="user_tools">
|
|
<span>
|
|
Bienvenido <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['nombre'];?>
|
|
</a>
|
|
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']=="gerente"||$_smarty_tpl->getVariable('Usr')->value['type']=="cajero"){?>
|
|
| <a href="#"><?php echo $_smarty_tpl->getVariable('Usr')->value['sucursal'];?>
|
|
</a>
|
|
<?php }?>
|
|
| <a id="logoutDiv" style="cursor:pointer">Salir</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<!-- USER TOOLS END -->
|
|
|
|
<div class="grid_16" id="header">
|
|
<?php $_template = new Smarty_Internal_Template("menus/main.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
</div>
|
|
|
|
<div class="grid_16">
|
|
<!-- TABS START -->
|
|
<?php if ($_smarty_tpl->getVariable('page')->value=="datos-generales"||$_smarty_tpl->getVariable('page')->value=="atributos"||$_smarty_tpl->getVariable('page')->value=="usuarios"||$_smarty_tpl->getVariable('page')->value=="usuarios-agregar"||$_smarty_tpl->getVariable('page')->value=="usuarios-editar"||$_smarty_tpl->getVariable('page')->value=="usuarios-detalles"||$_smarty_tpl->getVariable('page')->value=="metodos-pago"||$_smarty_tpl->getVariable('page')->value=="clientes"||$_smarty_tpl->getVariable('page')->value=="proveedores"||$_smarty_tpl->getVariable('page')->value=="temporadas"||$_smarty_tpl->getVariable('page')->value=="tallas"||$_smarty_tpl->getVariable('page')->value=="colores"||$_smarty_tpl->getVariable('page')->value=="materiales"||$_smarty_tpl->getVariable('page')->value=="motivos"||$_smarty_tpl->getVariable('page')->value=="productos"||$_smarty_tpl->getVariable('page')->value=="productos-agregar"||$_smarty_tpl->getVariable('page')->value=="productos-editar"||$_smarty_tpl->getVariable('page')->value=="productos-detalles"||$_smarty_tpl->getVariable('page')->value=="productos-categorias"||$_smarty_tpl->getVariable('page')->value=="productos-subcategorias"||$_smarty_tpl->getVariable('page')->value=="productos-duplicados"||$_smarty_tpl->getVariable('page')->value=="conjunto-tallas"||$_smarty_tpl->getVariable('page')->value=="promociones"||$_smarty_tpl->getVariable('page')->value=="monederos"||$_smarty_tpl->getVariable('page')->value=="cuentas-bancarias"||$_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"||$_smarty_tpl->getVariable('page')->value=="comisiones"){?>
|
|
|
|
<div id="tabs">
|
|
<div class="container">
|
|
<?php $_template = new Smarty_Internal_Template("menus/submenu.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('Usr')->value['type']!="compras"&&$_smarty_tpl->getVariable('Usr')->value['type']!="gerente"){?>
|
|
<div style="height:30px"></div>
|
|
<?php $_template = new Smarty_Internal_Template("menus/submenu2.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
<?php }?>
|
|
</div>
|
|
</div>
|
|
<?php }else{ ?>
|
|
<div id="tabs">
|
|
<div class="container">
|
|
<?php $_template = new Smarty_Internal_Template("menus/submenu.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
</div>
|
|
</div>
|
|
<?php }?>
|
|
<!-- TABS END -->
|
|
</div>
|