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,40 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:30
|
||||
compiled from "/var/www/html/ventas/templates/materiales.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:34916937695f54e2c579b8-34680427%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'dd4c2bb8fc6b2dab51619832cc6fbc2e0df860d6' =>
|
||||
array (
|
||||
0 => '/var/www/html/ventas/templates/materiales.tpl',
|
||||
1 => 1767836456,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '34916937695f54e2c579b8-34680427',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div class="grid_16" id="content">
|
||||
|
||||
<div class="grid_9">
|
||||
<h1 class="catalogos">Materiales</h1>
|
||||
</div>
|
||||
|
||||
<div class="grid_6" id="eventbox" style="display:none">
|
||||
<a href="#" class="inline_tip"></a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="grid_15" id="contenido">
|
||||
|
||||
<?php $_template = new Smarty_Internal_Template("lists/materiales.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="clear"></div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user