Primer commit del sistema avantika sin cambios
This commit is contained in:
205
templates_c/faa1962433c5dfd948a829c98c7f173d31e24e8d.file.agregar-pedido.tpl.php
Executable file
205
templates_c/faa1962433c5dfd948a829c98c7f173d31e24e8d.file.agregar-pedido.tpl.php
Executable file
@@ -0,0 +1,205 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2014-09-15 14:28:43
|
||||
compiled from "./templates/forms/agregar-pedido.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:658042745540a160f7c1ac3-96731181%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'faa1962433c5dfd948a829c98c7f173d31e24e8d' =>
|
||||
array (
|
||||
0 => './templates/forms/agregar-pedido.tpl',
|
||||
1 => 1410130450,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '658042745540a160f7c1ac3-96731181',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if (!is_callable('smarty_modifier_upper')) include '/var/www/html/libs/plugins/modifier.upper.php';
|
||||
?><div id="divForm">
|
||||
<form id="frmAgregarPedido" name="frmAgregarPedido" method="post">
|
||||
<input type="hidden" id="type" name="type" value="savePedido" />
|
||||
<input type="hidden" id="key" name="key" value="" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="120" height="40">* Proveedor:</td>
|
||||
<td>
|
||||
<input name="proveedor" id="proveedor" type="text" class="largeInput" style="width:290px" onkeyup="SuggestProveedor()"/>
|
||||
<input type="hidden" name="proveedorId" id="proveedorId" value="" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProvDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">No. de Pedido</td>
|
||||
<td><div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['noPedido'];?>
|
||||
</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">Fecha del Pedido:</td>
|
||||
<td>
|
||||
<div class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['fechaPedido'];?>
|
||||
</div>
|
||||
<input type="hidden" name="fechaPedido" id="fechaPedido" value="<?php echo $_smarty_tpl->getVariable('info')->value['fechaPedido'];?>
|
||||
" />
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Fecha de Entrega</td>
|
||||
<td><div style="height:10px"></div>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="135">Del
|
||||
<input name="fechaEntrega" id="fechaEntrega" type="text" class="largeInput" style="width:100px" value="" readonly="readonly" />
|
||||
</td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaEntrega','ddmmyyyy')">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/calendar.gif" />
|
||||
</a>
|
||||
</td>
|
||||
<td width="138"> Al
|
||||
<input name="fechaEntregaF" id="fechaEntregaF" type="text" class="largeInput" style="width:100px" value="" readonly="readonly" />
|
||||
</td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" onclick="NewCal('fechaEntregaF','ddmmyyyy')">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/calendar.gif" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="120" height="40">* Método de Compra:</td>
|
||||
<td><?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumMetodoCompra.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 width="10"></td>
|
||||
<td width="130">Resurtido:</td>
|
||||
<td><input type="checkbox" name="resurtido" id="resurtido" value="1" onclick="ShowDistribucion()" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Publicidad:</td>
|
||||
<td><input name="porcPub" id="porcPub" type="text" class="largeInput" style="width:290px" value="" /></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">% Flete:</td>
|
||||
<td><input name="porcFlete" id="porcFlete" type="text" class="largeInput" style="width:290px" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Desarrollo:</td>
|
||||
<td><input name="porcDes" id="porcDes" type="text" class="largeInput" style="width:290px" value="" /></td>
|
||||
<td width="10"></td>
|
||||
<td width="130">% Especial:</td>
|
||||
<td><input name="porcEsp" id="porcEsp" type="text" class="largeInput" style="width:290px" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: AGREGAR PRODUCTOS ::.</b></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="120" height="40">* Código Barra:</td>
|
||||
<td>
|
||||
<input name="modelo" id="modelo" type="text" class="largeInput" style="width:290px" onkeyup="CheckKey(event)"/>
|
||||
<input type="hidden" name="productoId" id="productoId" value="" />
|
||||
<input type="hidden" name="prodCatId" id="prodCatId" value="" />
|
||||
<input type="hidden" name="prodSubcatId" id="prodSubcatId" value="" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProdDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">Descripción:</td>
|
||||
<td><div id="enumAtributos"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<a href="javascript:void(0)" onclick="AddTalla()"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/add.png">Agregar Talla</a>
|
||||
|
||||
<a href="javascript:void(0)" onclick="AddColor()"><img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/icons/add.png">Agregar Color</a>
|
||||
<div id="tblProporcion" align="center">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pedidos-proporciones.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>
|
||||
<td colspan="5" align="center">
|
||||
<div align="right" style="margin-right:20px">
|
||||
<a href="javascript:void(0)" onclick="AddProducto()">
|
||||
+ Agregar Producto
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="border-top:1px solid #CCCCCC; padding-top:10px">
|
||||
<b>.:: PRODUCTOS ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="productos">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pedidos-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>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" id="tblDistribucion" style="display:none">
|
||||
<tr>
|
||||
<td align="center" class="lineProd">
|
||||
<b>.:: DISTRIBUCION ::.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" id="listDist">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/pedidos-productos-resurtido.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>
|
||||
|
||||
<hr />
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
* Campos requeridos
|
||||
|
||||
<br />
|
||||
|
||||
<div align="center" style="display:none" id="loader">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/loading.gif">
|
||||
<br>
|
||||
Guardando Información...
|
||||
<br />Este proceso puede tardar unos segundos.
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
<div style="margin-left:300px">
|
||||
<a class="button" name="btnSave" onclick="AddPedido()" style="margin-right:20px">
|
||||
<span>Enviar a Autorización</span>
|
||||
</a>
|
||||
<a class="button" href="javascript:void(0)" onclick="CancelPedido()">
|
||||
<span>Cancelar Pedido</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user