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:
@@ -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/enumPromoAplicar.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:541384057695f5b2115e108-88764002%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'12a8987ccbc11ce8631df38b2f7de6097bbed277' =>
|
||||
array (
|
||||
0 => '/var/www/html/ventas/templates/lists/enumPromoAplicar.tpl',
|
||||
1 => 1767856881,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '541384057695f5b2115e108-88764002',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<select name="aplicaTodos" id="aplicaTodos" class="largeInput" onchange="ShowProducts()">
|
||||
<option value="">Seleccione</option>
|
||||
<option value="1" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['aplicaTodos']=="1"){?>selected<?php }?>>Sí</option>
|
||||
<option value="0" <?php if (isset($_smarty_tpl->getVariable('info')->value)&&$_smarty_tpl->getVariable('info')->value['aplicaTodos']=="0"){?>selected<?php }?>>No</option>
|
||||
</select>
|
||||
Reference in New Issue
Block a user