fix(promociones): Resuelve múltiples advertencias y errores en promociones y sucursales

- Se corrigieron las advertencias 'Undefined array key "checked"' en 'enumProvPromo.tpl', 'enumSucPromo.tpl' y 'enumProdCatPromo.tpl'.
- Se resolvieron las advertencias 'Trying to access array offset on null' en 'enumTiposPromo.tpl', 'enumDesctosPromo.tpl', 'enumStatusPromo.tpl', 'enumVigenciaPromo.tpl' y 'enumPromoAplicar.tpl'.
- Se corrigió el error 'Call to undefined method Util::DecodeUrlRow()' en 'ajax/sucursales.php' reemplazándolo por 'DecodeUrlResult()'.
- Se modificó 'templates/lists/sucursales.tpl' para evitar la inclusión de 'pages_ajax.tpl' cuando la variable '$pages' es nula.
- Se eliminaron archivos de log y temporales.
This commit is contained in:
2026-01-08 01:23:30 -06:00
parent ccfa01fa0e
commit cb1a44e380
69 changed files with 599 additions and 8912 deletions

View File

@@ -0,0 +1,41 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/boxes/agregar-promocion-popup.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1781356590695f5b21104c64-00994730%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'46b41ef7b189fa9ea5ca562391edbbe062ed6cc0' =>
array (
0 => '/var/www/html/ventas/templates/boxes/agregar-promocion-popup.tpl',
1 => 1767836456,
),
),
'nocache_hash' => '1781356590695f5b21104c64-00994730',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="popupheader" style="z-index:70">
<div id="fviewmenu" style="z-index:70">
<div id="fviewclose"><span style="color:#CCC" id="closePopUpDiv">
<a href="javascript:void(0)">Close<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/b_disn.png" border="0" alt="close" /></a></span>
</div>
</div>
<div id="ftitl">
<div class="flabel">Agregar Promoci&oacute;n</div>
<div id="vtitl"><span title="Titulo">Agregar Promoci&oacute;n</span></div>
</div>
<div id="draganddrop" style="position:absolute;top:45px;left:640px">
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
/images/draganddrop.png" border="0" alt="mueve" />
</div>
</div>
<div class="wrapper">
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/forms/agregar-promocion.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</div>