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,51 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-07 00:11:52
compiled from "/var/www/html/ventas/templates/menus/submenu2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1731378321695df9289e79c4-84778495%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'56465d27e1df56835c71d7cdb2dc2df60120e83e' =>
array (
0 => '/var/www/html/ventas/templates/menus/submenu2.tpl',
1 => 1767753171,
),
),
'nocache_hash' => '1731378321695df9289e79c4-84778495',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<ul>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/motivos" <?php if ($_smarty_tpl->getVariable('page')->value=="motivos"){?> class="current"<?php }?>>
<span>Motivos Rechazo</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/promociones" <?php if ($_smarty_tpl->getVariable('page')->value=="promociones"){?> class="current"<?php }?>>
<span>Promociones</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/bonificacion-devolucion" <?php if ($_smarty_tpl->getVariable('page')->value=="bonificacion-devolucion"){?> class="current"<?php }?>>
<span>Politicas B/D</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/comisiones" <?php if ($_smarty_tpl->getVariable('page')->value=="comisiones"){?> class="current"<?php }?>>
<span>Comisiones</span>
</a>
</li>
<li>
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/productos-duplicados" <?php if ($_smarty_tpl->getVariable('page')->value=="productos-duplicados"){?> class="current"<?php }?>>
<span>Productos Duplicados</span>
</a>
</li>
</ul>