Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,261 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-06-04 13:31:07
|
||||
compiled from "/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/agregar-promocion.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1593675637538f65eb0102a4-22836422%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'88534d0d84922955e5dbf606b56eb576095d6371' =>
|
||||
array (
|
||||
0 => '/home/novomoda/domains/novomoda.com.mx/public_html/sistema/templates/forms/agregar-promocion.tpl',
|
||||
1 => 1401906237,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1593675637538f65eb0102a4-22836422',
|
||||
'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="savePromocion" />
|
||||
<fieldset>
|
||||
|
||||
<div class="a">
|
||||
<div class="l">* Nombre:</div>
|
||||
<div class="r"><input type="text" name="name" id="name" class="largeInput wide2"></div>
|
||||
</div>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left">
|
||||
* Vigencia
|
||||
<br />
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumVigenciaPromo.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);?>
|
||||
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtFechaIni" style="display:none">
|
||||
* Fecha Inicial:
|
||||
<br />
|
||||
<input type="text" class="largeInput" style="width:100px" name="fechaIni" id="fechaIni" maxlength="10" />
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaIni','ddmmyyyy')">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/calendar.gif" border="0" />
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtFechaFin" style="display:none">
|
||||
* Fecha Final:
|
||||
<br />
|
||||
<input type="text" class="largeInput" style="width:100px" name="fechaFin" id="fechaFin" maxlength="10" />
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaFin','ddmmyyyy')">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/calendar.gif" border="0" />
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" colspan="3">
|
||||
* Aplicar Promoción a TODOS los productos?
|
||||
<br />
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumPromoAplicar.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);?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Sucursal:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkSuc" id="checkSuc" value="1" onclick="CheckAllSuc()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" style="clear:both">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumSucPromo.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="listProducts" style="display:none">
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Departamento:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkDepto" id="checkDepto" value="1" onclick="CheckAllDepto()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" style="clear:both">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdCatPromo.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 class="a">
|
||||
<div style="float:left">* Línea:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkLinea" id="checkLinea" value="1" onclick="CheckAllLinea()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" id="enumSubcats" style="clear:both">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdSubcatPromo.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 align="right">
|
||||
<input type="button" value="Actualizar Líneas" style="padding:6px; margin-right:15px" onclick="LoadSubcats()" />
|
||||
</div>
|
||||
<div style="clear:both"></div>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="a">
|
||||
<div style="float:left">* Proveedor:</div>
|
||||
<div style="float:right; padding-right:20px">
|
||||
<input type="checkbox" name="checkProv" id="checkProv" value="1" onclick="CheckAllProv()" />Marcar Todos
|
||||
</div>
|
||||
<div class="r listChks" style="clear:both">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProvPromo.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 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="LoadProductos()" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="left">* Tipo de Promoción:</td>
|
||||
<td align="left" colspan="2">* Aplica en:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" width="230">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumTiposPromo.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);?>
|
||||
|
||||
</td>
|
||||
<td align="left" colspan="2">
|
||||
<div id="enumAplica">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumAplicarPromo.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>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowXY" style="display:none">
|
||||
<td align="left"></td>
|
||||
<td align="left">
|
||||
* Valor de X: <br />
|
||||
<input type="text" class="largeInput" name="valorX" id="valorX" />
|
||||
</td>
|
||||
<td align="left">
|
||||
* Valor Y: <br />
|
||||
<input type="text" class="largeInput" name="valorY" id="valorY" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTipoDesc" style="display:none">
|
||||
<td align="left">
|
||||
* Tipo de Descuento: <br />
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumDesctosPromo.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);?>
|
||||
|
||||
</td>
|
||||
<td align="left">
|
||||
* Valor del Descuento: <br />
|
||||
<input type="text" class="largeInput" name="valorDesc" id="valorDesc" />
|
||||
</td>
|
||||
<td align="left">
|
||||
<div id="txtTotalCompra" style="display:none">
|
||||
* Total de la Compra: <br />
|
||||
<input type="text" class="largeInput" name="totalCompra" id="totalCompra" />
|
||||
</div>
|
||||
<div id="txtValorN" style="display:none">
|
||||
* Valor N: <br />
|
||||
<input type="text" class="largeInput" name="valorN" id="valorN" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rowTotalVentaB" style="display:none">
|
||||
<td align="left">
|
||||
* Total de la Compra: <br />
|
||||
<input type="text" class="largeInput" name="totalCompra2" id="totalCompra2" />
|
||||
</td>
|
||||
<td align="left">
|
||||
* Cant. de Art. a Regalar: <br />
|
||||
<div id="inputValorDesc">
|
||||
<input type="text" class="largeInput" name="cantArtRegalo" id="cantArtRegalo" />
|
||||
</div>
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr id="rowTotalVentaM" style="display:none">
|
||||
<td align="left">
|
||||
* Total de la Compra: <br />
|
||||
<input type="text" class="largeInput" name="totalCompraM" id="totalCompraM" />
|
||||
</td>
|
||||
<td align="left">
|
||||
* Porcentaje Abonar: <br />
|
||||
<input type="text" class="largeInput" name="porcentajeM" id="porcentajeM" />
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
<tr id="rowProdVentaB" style="display:none">
|
||||
<td align="left" colspan="3">
|
||||
* Código Producto a Regalar: <br />
|
||||
<input type="text" class="largeInput" name="codigoProd" id="codigoProd" onblur="LoadInfoProd()" />
|
||||
<div id="infoProd"></div>
|
||||
<input type="hidden" name="prodId" id="prodId" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
* Status: <br />
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumStatusPromo.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);?>
|
||||
|
||||
</td>
|
||||
<td align="left">
|
||||
Aplica en Productos Rebajados
|
||||
<br />
|
||||
<input type="checkbox" name="rebajado" id="rebajado" value="1" />
|
||||
</td>
|
||||
<td align="left"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<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="btnSave"><span>Agregar</span></a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user