- 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.
31 lines
1.5 KiB
PHP
31 lines
1.5 KiB
PHP
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
|
|
compiled from "/var/www/html/ventas/templates/lists/enumProdPromo.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:1697861612695f5b21198539-20208607%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'4e54a73584079dad09a8f59506c3fd0acf241de7' =>
|
|
array (
|
|
0 => '/var/www/html/ventas/templates/lists/enumProdPromo.tpl',
|
|
1 => 1767836456,
|
|
),
|
|
),
|
|
'nocache_hash' => '1697861612695f5b21198539-20208607',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if (!is_callable('smarty_modifier_truncate')) include '/var/www/html/ventas/libs/plugins/modifier.truncate.php';
|
|
?><?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('productos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
if (count($_from) > 0){
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
|
|
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
|
|
?>
|
|
<input type="checkbox" name="idProducto[]" value="<?php echo $_smarty_tpl->getVariable('item')->value['productoId'];?>
|
|
" <?php if ($_smarty_tpl->getVariable('item')->value['checked']){?>checked<?php }?> ><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('item')->value['descripcion'],250,"...");?>
|
|
|
|
<br />
|
|
<?php }} ?>
|