feat(atributos): Mejora la funcionalidad de la página de atributos
- 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.
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:47:02
|
||||
compiled from "/var/www/html/ventas/templates/items/usuarios-base.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1039506994695f52e69e2162-16377165%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'e85f9d694d4f200f132b4040dda6b61222954514' =>
|
||||
array (
|
||||
0 => '/var/www/html/ventas/templates/items/usuarios-base.tpl',
|
||||
1 => 1767836456,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1039506994695f52e69e2162-16377165',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_default')) include '/var/www/html/ventas/libs/plugins/modifier.default.php';
|
||||
?> <tr>
|
||||
<td><?php echo $_smarty_tpl->getVariable('usuario')->value['nombre'];?>
|
||||
<?php echo $_smarty_tpl->getVariable('usuario')->value['apellidos'];?>
|
||||
</td>
|
||||
<td><div align="center"><?php echo $_smarty_tpl->getVariable('usuario')->value['email'];?>
|
||||
</div></td>
|
||||
<td><div align="center"><?php echo $_smarty_tpl->getVariable('usuario')->value['type'];?>
|
||||
</div></td>
|
||||
<td><div align="center"><?php echo smarty_modifier_default($_smarty_tpl->getVariable('usuario')->value['sucursal'],'');?>
|
||||
</div></td>
|
||||
<td>
|
||||
<div align="center">
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios-detalles/id/<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
|
||||
">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/details.png" title="Ver Detalles" border="0"/>
|
||||
</a>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/usuarios-editar/id/<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
|
||||
">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/edit.gif" title="Editar" border="0"/>
|
||||
</a>
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('usuario')->value['usuarioId'];?>
|
||||
" title="Eliminar"/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
Reference in New Issue
Block a user