decodeProperties(array ( 'file_dependency' => array ( '9d06d03bab755f6b520ebd3125eac3e8844c8897' => array ( 0 => '/var/www/html/templates/forms/detalles-promocion.tpl', 1 => 1410130450, ), ), 'nocache_hash' => '228906170540f59abdb86f9-68007393', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?>
* Nombre:
getVariable('info')->value['nombre'];?>
* Vigencia
getVariable('info')->value['vigencia']=="Periodo"){?>Por PeriodoPermanente
getVariable('info')->value['vigencia']!="Periodo"){?>style="display:none"> * Fecha Inicial:
getVariable('info')->value['fechaIni'];?>
getVariable('info')->value['vigencia']!="Periodo"){?>style="display:none"> * Fecha Final:
getVariable('info')->value['fechaFin'];?>
* Aplicar Promoción a TODOS los productos?
getVariable('info')->value['aplicaTodos']=="1"){?>SígetVariable('info')->value['aplicaTodos']=="0"){?>No 
* Sucursal:
tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('sucursales')->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; ?> - getVariable('item')->value['nombre'];?>
getVariable('info')->value['aplicaTodos']=="1"){?>style="display:none">
* Departamento:
tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('categorias')->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; ?> - getVariable('item')->value['nombre'];?>
* Línea:
tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('subcategorias')->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; ?> - getVariable('item')->value['nombre'];?>
* Proveedor:
tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('proveedores')->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; ?> - getVariable('item')->value['nombre'];?>
* Producto:
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; ?> - getVariable('item')->value['descripcion'];?>
getVariable('productos')->value);?>
getVariable('info')->value['aplica']!="XxY"){?>style="display:none"> getVariable('info')->value['aplica']!="N1Desc"&&$_smarty_tpl->getVariable('info')->value['aplica']!="DescCuenta"&&$_smarty_tpl->getVariable('info')->value['aplica']!="ArtConDesc"){?>style="display:none"> getVariable('info')->value['aplica']!="CompraX"){?>style="display:none"> getVariable('info')->value['aplica']!="CompraX"){?>style="display:none"> getVariable('info')->value['aplica']!="CompraXabonoM"){?>style="display:none">
* Tipo de Promoción: * Aplica en:
getVariable('info')->value['tipo']=="AxB"){?> A x B getVariable('info')->value['tipo']=="TotalVentaB"){?> Total Venta x B getVariable('info')->value['tipo']=="CompraX"){?> Compra $x getVariable('info')->value['tipo']=="BuenFin"){?> Buen Fin
getVariable('info')->value['aplica']=="XxY"){?> Compra X Prods. al Precio de Y por Producto getVariable('info')->value['aplica']=="N1Desc"){?> Compra N Prods. y N+1 aplica un Descuento getVariable('info')->value['aplica']=="CompraX"){?> Compra $x y Regala B getVariable('info')->value['aplica']=="CompraXabonoM"){?> Compra $x y Abona % a Monedero getVariable('info')->value['aplica']=="DescCuenta"){?> Descuento por toda la Cuenta getVariable('info')->value['aplica']=="ArtConDesc"){?> Artículos después de $x con Descuento getVariable('info')->value['aplica']=="3x2"){?> 3 x 2
* Valor de X:
getVariable('info')->value['valorX'];?>
* Valor Y:
getVariable('info')->value['valorY'];?>
* Tipo de Descuento:
getVariable('info')->value['tipoDesc']=="Cantidad"){?>Cantidad FijaPorcentaje
* Valor del Descuento:
getVariable('info')->value['valorDesc'];?>
getVariable('info')->value['aplica']!="DescCuenta"&&$_smarty_tpl->getVariable('info')->value['aplica']!="ArtConDesc"){?>style="display:none"> * Total de la Compra:
getVariable('info')->value['totalCompra'];?>
getVariable('info')->value['aplica']!="N1Desc"){?>style="display:none"> * Valor N:
getVariable('info')->value['valorN'];?>
* Total de la Compra:
getVariable('info')->value['totalCompra'];?>
* Cant. de Art. a Regalar:
getVariable('info')->value['cantArtRegalo'];?>
* Producto a Regalar:
getVariable('info')->value['producto'];?>
* Total de la Compra:
getVariable('info')->value['totalCompra'];?>
* Porcentaje Abonar:
getVariable('info')->value['valorDesc'];?>
* Status:
getVariable('info')->value['status'];?>

* Campos requeridos