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

@@ -1,16 +1,16 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-06 19:17:36
<?php /* Smarty version Smarty3-b7, created on 2026-01-06 22:37:11
compiled from "/var/www/html/ventas/templates/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1656470237695db430cdf304-14751449%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
<?php /*%%SmartyHeaderCode:840743038695de2f73f45b1-70011593%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'70bf41642baf30444e6a2fab648bee6d25dd5d77' =>
array (
0 => '/var/www/html/ventas/templates/index.tpl',
1 => 1744068892,
1 => 1767760605,
),
),
'nocache_hash' => '1656470237695db430cdf304-14751449',
'nocache_hash' => '840743038695de2f73f45b1-70011593',
'function' =>
array (
),
@@ -61,10 +61,16 @@ body {
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/functions.js?<?php echo time();?>
" type="text/javascript"></script>
<?php if ($_smarty_tpl->getVariable('page')->value=="login"){?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/login.js?<?php echo time();?>
" type="text/javascript"></script>
<?php }else{ ?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/<?php echo $_smarty_tpl->getVariable('page')->value;?>
.js?<?php echo time();?>
" type="text/javascript"></script>
<?php }?>
<script src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/javascript/flowplayer-3.2.4.min.js" type="text/javascript"></script>