- 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.
33 lines
2.0 KiB
PHP
33 lines
2.0 KiB
PHP
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 01:22:09
|
|
compiled from "/var/www/html/ventas/templates/lists/enumAplicarPromo.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:1855783150695f5b211b7648-40587464%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'3489a9ad6674770778ae2de933b2a3aa6e7d2be3' =>
|
|
array (
|
|
0 => '/var/www/html/ventas/templates/lists/enumAplicarPromo.tpl',
|
|
1 => 1767836456,
|
|
),
|
|
),
|
|
'nocache_hash' => '1855783150695f5b211b7648-40587464',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<select name="aplica" id="aplica" class="largeInput" onchange="ShowInputsAplica()">
|
|
<option value="">Seleccione</option>
|
|
<?php if ($_smarty_tpl->getVariable('tipo')->value=="AxB"){?>
|
|
<option value="XxY" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="XxY"){?>selected<?php }?>>Compra X Prods. al Precio de Y por Producto.</option>
|
|
<option value="N1Desc" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="N1Desc"){?>selected<?php }?>>Compra N Prods. y N+1 aplica un Descuento</option>
|
|
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="TotalVentaB"){?>
|
|
<option value="CompraX" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="CompraX"){?>selected<?php }?>>Compra $x y Regala B</option>
|
|
|
|
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="CompraX"){?>
|
|
<option value="DescCuenta" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="DescCuenta"){?>selected<?php }?>>Descuento por toda la Cuenta</option>
|
|
<option value="ArtConDesc" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="ArtConDesc"){?>selected<?php }?>>Artículos después de $x con Descuento</option>
|
|
<?php }elseif($_smarty_tpl->getVariable('tipo')->value=="BuenFin"){?>
|
|
<option value="3x2" <?php if ($_smarty_tpl->getVariable('info')->value['aplica']=="3x2"){?>selected<?php }?>>3 x 2</option>
|
|
<?php }?>
|
|
</select>
|