117 lines
5.5 KiB
PHP
Executable File
117 lines
5.5 KiB
PHP
Executable File
<?php /* Smarty version Smarty3-b7, created on 2014-06-04 13:33:28
|
|
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/excluir-promocion.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:729317341538f667861f0d8-80577666%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'0a34406c18cba5f25f2583bf11ee511f35259490' =>
|
|
array (
|
|
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/excluir-promocion.tpl',
|
|
1 => 1401906803,
|
|
),
|
|
),
|
|
'nocache_hash' => '729317341538f667861f0d8-80577666',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<div id="divForm">
|
|
<form name="frmPromocion" id="frmPromocion" method="post" action="">
|
|
<input type="hidden" name="type" id="type" value="saveExcluirPromocion" />
|
|
<input type="hidden" name="promocionId" id="promocionId" value="<?php echo $_smarty_tpl->getVariable('info')->value['promocionId'];?>
|
|
" />
|
|
<fieldset>
|
|
|
|
<div class="a">
|
|
<div class="l">* Proveedor:</div>
|
|
<div class="r">
|
|
<select name="proveedorId" id="proveedorId" class="largeInput wide2">
|
|
<option value="">Seleccione</option>
|
|
<?php $_smarty_tpl->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;
|
|
?>
|
|
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['proveedorId'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</option>
|
|
<?php }} ?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="a">
|
|
<div class="l">Departamento:</div>
|
|
<div class="r">
|
|
<select name="prodCatId" id="prodCatId" class="largeInput wide2" onchange="LoadSubcatsExc()">
|
|
<option value="">Todos</option>
|
|
<?php $_smarty_tpl->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;
|
|
?>
|
|
<option value="<?php echo $_smarty_tpl->getVariable('item')->value['prodCatId'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('item')->value['nombre'];?>
|
|
</option>
|
|
<?php }} ?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="a">
|
|
<div class="l">Línea:</div>
|
|
<div class="r" id="enumSubcats">
|
|
<select name="prodSubcatId" id="prodSubcatId" class="largeInput wide2">
|
|
<option value="">Todas</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="a">
|
|
<div style="float:left">* Producto:</div>
|
|
<div style="float:right; padding-right:20px">
|
|
<input type="checkbox" name="checkProd" id="checkProd" value="1" onclick="CheckAllProd()" />Marcar Todos
|
|
</div>
|
|
<div class="r listChks" id="enumProds" style="clear:both">
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdPromo.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
</div>
|
|
</div>
|
|
<div id="cantProds" style="float:left"></div>
|
|
<div align="right">
|
|
<input type="button" value="Actualizar Productos" style="padding:6px; margin-right:15px" onclick="LoadProdsExc()" />
|
|
</div>
|
|
|
|
<div style="clear:both"></div>
|
|
<hr />
|
|
* Campos requeridos
|
|
|
|
<div align="center" id="loader" style="display:none">
|
|
Este proceso puede tardar unos minutos.
|
|
<br />Por favor, espere.
|
|
<br /><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
|
/images/loading.gif" />
|
|
</div>
|
|
|
|
<div class="formLine" style="text-align:center; padding-left:310px">
|
|
<a class="button" id="btnEdit"><span>Agregar</span></a>
|
|
</div>
|
|
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
|
|
<hr />
|
|
<div align="center"><b>PRODUCTOS EXCLUIDOS</b></div>
|
|
<br />
|
|
<div id="tblProds" align="center">
|
|
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/promociones-productos.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
|
|
echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
|
|
|
|
</div>
|