- 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.
32 lines
1.3 KiB
PHP
32 lines
1.3 KiB
PHP
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:30
|
|
compiled from "/var/www/html/ventas/templates/items/materiales-base.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:635893757695f54e2c79a37-05495044%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'87a9beee14fcda8ff01ce07b1ec49f7321cda94b' =>
|
|
array (
|
|
0 => '/var/www/html/ventas/templates/items/materiales-base.tpl',
|
|
1 => 1767836456,
|
|
),
|
|
),
|
|
'nocache_hash' => '635893757695f54e2c79a37-05495044',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<tr>
|
|
<td align="center"><div align="center"><?php echo $_smarty_tpl->getVariable('item')->value['materialId'];?>
|
|
</div></td>
|
|
<td><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</td>
|
|
<td align="center">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/edit.gif" class="spanEdit" id="<?php echo $_smarty_tpl->getVariable('item')->value['materialId'];?>
|
|
" title="Editar"/>
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/delete.gif" class="spanDelete" id="<?php echo $_smarty_tpl->getVariable('item')->value['materialId'];?>
|
|
" title="Eliminar"/>
|
|
</td>
|
|
</tr>
|