Fix systematic errors in pagination, sucursal warnings, and fatal count() errors across multiple modules

This commit is contained in:
2026-01-07 01:06:27 -06:00
parent aaa77e870e
commit 3a5afa82fe
354 changed files with 9022 additions and 15093 deletions

View File

@@ -0,0 +1,49 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 01:06:14
compiled from "/var/www/html/ventas/templates/items/usuarios-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:135077025695e05e631b725-55026445%%*/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 => 1767769550,
),
),
'nocache_hash' => '135077025695e05e631b725-55026445',
'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>