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:
2026-01-08 01:06:11 -06:00
parent e8b1afdb71
commit ccfa01fa0e
93 changed files with 8099 additions and 6129 deletions

View File

@@ -0,0 +1,27 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:36:31
compiled from "/var/www/html/ventas/templates/items/atributos-valores-header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1188496253695f506f645465-14663856%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'8136b6ea2f75e38fd8816784077ba2c44011c4f7' =>
array (
0 => '/var/www/html/ventas/templates/items/atributos-valores-header.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1188496253695f506f645465-14663856',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<table width="100%" cellpadding="0" cellspacing="0" id="subTbl">
<thead>
<tr>
<th width="100" bgcolor="#00CC00"><div align="center"></div></th>
<th width="" scope="col">Nombre</th>
<th width="100" scope="col"><div align="center">Acciones</div></th>
</tr>
</thead>
<tbody>