- 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.
39 lines
1.8 KiB
PHP
39 lines
1.8 KiB
PHP
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:02:56
|
|
compiled from "/var/www/html/ventas/templates/items/sucursales-base.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:813334746695f56a03b4f44-08449120%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'f5fb1dff11e1325036c56d7d5543bee3a70c6bcd' =>
|
|
array (
|
|
0 => '/var/www/html/ventas/templates/items/sucursales-base.tpl',
|
|
1 => 1767836456,
|
|
),
|
|
),
|
|
'nocache_hash' => '813334746695f56a03b4f44-08449120',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<tr>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['rfc'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['nombre'];?>
|
|
</td>
|
|
<td align="center"><?php echo $_smarty_tpl->getVariable('sucursal')->value['iva'];?>
|
|
%</td>
|
|
<td align="center">
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/details.png" class="spanViewSucursal" id="<?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
|
|
" title="Ver Detalles" />
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/edit.gif" class="spanEditSucursal" id="<?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
|
|
" title="Editar"/>
|
|
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/icons/delete.gif" class="spanDeleteSucursal" id="<?php echo $_smarty_tpl->getVariable('sucursal')->value['sucursalId'];?>
|
|
" title="Eliminar"/>
|
|
</td>
|
|
</tr>
|