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,37 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:58:38
compiled from "/var/www/html/ventas/templates/items/atributos-valores-base.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1332955127695e041e785c41-37480866%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'7db66415da9518f91ef873663ad93c2cf61a24d3' =>
array (
0 => '/var/www/html/ventas/templates/items/atributos-valores-base.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1332955127695e041e785c41-37480866',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<tr>
<td align="center"> > </td>
<td><?php echo $_smarty_tpl->getVariable('itm')->value['nombre'];?>
</td>
<td align="center">
<a href="javascript:void(0)" onclick="EditValorPopup(<?php echo $_smarty_tpl->getVariable('itm')->value['atribValId'];?>
)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/edit.gif" border="0" title="Editar"/>
</a>
<?php if ($_smarty_tpl->getVariable('itm')->value['atribValId']>2){?>
<a href="javascript:void(0)" onclick="DeleteValorPopup(<?php echo $_smarty_tpl->getVariable('itm')->value['atribValId'];?>
)">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/icons/delete.gif" border="0" title="Eliminar"/>
</a>
<?php }?>
</td>
</tr>