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,23 @@
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
compiled from "/var/www/html/ventas/templates/lists/enumDesctosPromo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2083300451695f5b211d04a6-51801740%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'94f66fec8ea2c6ee428dba48082be0f043bbda49' =>
array (
0 => '/var/www/html/ventas/templates/lists/enumDesctosPromo.tpl',
1 => 1767856730,
),
),
'nocache_hash' => '2083300451695f5b211d04a6-51801740',
'function' =>
array (
),
'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<select name="tipoDesc" id="tipoDesc" class="largeInput">
<option value="">Seleccione</option>
<option value="Cantidad" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['tipoDesc']=="Cantidad"){?>selected<?php }?>>Cantidad Fija</option>
<option value="Porcentaje" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['tipoDesc']=="Porcentaje"){?>selected<?php }?>>Porcentaje</option>
</select>