Primer commit del sistema avantika sin cambios
This commit is contained in:
@@ -0,0 +1,187 @@
|
||||
<?php /* Smarty version Smarty3-b7, created on 2015-03-12 11:22:20
|
||||
compiled from "./templates/forms/editar-producto.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:12101975725501cb4c23bbf6-45137965%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'a82cddf677a5cb19d0e9ded6953d25420e6488ac' =>
|
||||
array (
|
||||
0 => './templates/forms/editar-producto.tpl',
|
||||
1 => 1410130451,
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '12101975725501cb4c23bbf6-45137965',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
)); /*/%%SmartyHeaderCode%%*/?>
|
||||
<div id="divForm">
|
||||
<form id="frmEditarProducto" name="frmEditarProducto" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" id="type" name="type" value="saveEditProducto" />
|
||||
<input type="hidden" id="productoId" name="productoId" value="<?php echo $_smarty_tpl->getVariable('info')->value['productoId'];?>
|
||||
" />
|
||||
<input type="hidden" id="k" name="k" value="" />
|
||||
<input type="hidden" id="tmpImg" name="tmpImg" value="" />
|
||||
<input type="hidden" name="conTallaId" id="conTallaId" value="1" />
|
||||
<fieldset>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td width="130" height="40">* Proveedor:</td>
|
||||
<td>
|
||||
<input name="proveedor" id="proveedor" type="text" class="largeInput" style="width:290px" onkeyup="SuggestProveedor()" value="<?php echo $_smarty_tpl->getVariable('info')->value['proveedor'];?>
|
||||
"/>
|
||||
<input type="hidden" name="proveedorId" id="proveedorId" value="<?php echo $_smarty_tpl->getVariable('info')->value['proveedorId'];?>
|
||||
" />
|
||||
<div style="position:relative">
|
||||
<div class="suggestGral" style="display:none;" id="sugProvDiv"></div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td width="130">* Departamento:</td>
|
||||
<td><?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdCat.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>
|
||||
<tr>
|
||||
<td height="40">* Línea:</td>
|
||||
<td><div id="enumSubcats"><?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumProdSubcat.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>
|
||||
<td width="10"></td>
|
||||
<td>* Modelo:</td>
|
||||
<td><input name="modelo" id="modelo" type="text" class="largeInput" style="width:290px" value="<?php echo $_smarty_tpl->getVariable('info')->value['modelo'];?>
|
||||
"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>* Código de Barra</td>
|
||||
<td><input name="codigoBarra" id="codigoBarra" type="text" class="largeInput" style="width:290px" onblur="LoadBarCodes()" value="<?php echo $_smarty_tpl->getVariable('info')->value['codigoBarra'];?>
|
||||
"/></td>
|
||||
<td width="10"></td>
|
||||
<td height="40"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: COMPOSICION ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div class="formLine" id="materiales">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/productos-materiales.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" style="margin-right:20px">
|
||||
<a href="javascript:void(0)" onclick="AddMaterial()">
|
||||
+ Agregar Material
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="20"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">Caract. Especiales:</td>
|
||||
<td><input name="descripcion" id="descripcion" type="text" class="largeInput" style="width:290px" value="<?php echo $_smarty_tpl->getVariable('info')->value['descripcion'];?>
|
||||
"/></td>
|
||||
<td width="10"></td>
|
||||
<td>* Temporada:</td>
|
||||
<td><?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/enumTemporadas.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>
|
||||
<tr>
|
||||
<td height="40">* Costo sin IVA:</td>
|
||||
<td><input name="costo" id="costo" type="text" class="largeInput" style="width:290px" value="<?php echo $_smarty_tpl->getVariable('info')->value['costo'];?>
|
||||
" onblur="CalcUtilidad()"/></td>
|
||||
<td width="10"></td>
|
||||
<td>* Precio Vta. con IVA:</td>
|
||||
<td><input name="precioVentaIva" id="precioVentaIva" type="text" class="largeInput" style="width:290px" value="<?php echo $_smarty_tpl->getVariable('info')->value['precioVentaIva'];?>
|
||||
" onblur="CalcPrecioSinIva()"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40">% Utilidad:</td>
|
||||
<td><div id="porcUtilidad" class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['porcUtilidad'];?>
|
||||
</div>
|
||||
<input type="hidden" name="utilidad" id="utilidad" value="<?php echo $_smarty_tpl->getVariable('info')->value['utilidad'];?>
|
||||
" />
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td>Precio Vta. sin IVA:</td>
|
||||
<td>
|
||||
<div id="txtPrecioVenta" class="txtFrm"><?php echo $_smarty_tpl->getVariable('info')->value['precioVenta'];?>
|
||||
</div>
|
||||
<input type="hidden" id="precioVenta" name="precioVenta" value="<?php echo $_smarty_tpl->getVariable('info')->value['precioVenta'];?>
|
||||
" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: IMAGEN ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<?php if ($_smarty_tpl->getVariable('info')->value['imagen']!=''){?>
|
||||
<a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/productos/<?php echo $_smarty_tpl->getVariable('info')->value['imagen'];?>
|
||||
" rel="clearbox">
|
||||
<img src="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/images/productos/<?php echo $_smarty_tpl->getVariable('info')->value['imagen'];?>
|
||||
" width="100" height="100" border="0" />
|
||||
</a>
|
||||
<br />
|
||||
<input type="checkbox" name="delImage" id="delImage" value="1" />Eliminar imagen
|
||||
<br />
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center"><input type="file" name="imagen" id="imagen" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" height="50"><b>.:: CODIGOS DE BARRA ::.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center">
|
||||
<div id="codigos">
|
||||
<?php $_template = new Smarty_Internal_Template("{$_smarty_tpl->getVariable('DOC_ROOT')->value}/templates/lists/productos-codigos.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>
|
||||
|
||||
<div class="formLine">
|
||||
<hr />
|
||||
* Campos requeridos
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<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:415px">
|
||||
<a class="button" name="btnSave" onclick="EditProducto()"><span>Guardar</span></a>
|
||||
</div>
|
||||
|
||||
<div style="clear:both"></div>
|
||||
<br /><br />
|
||||
<div style="margin-left:410px"><a href="<?php echo $_smarty_tpl->getVariable('WEB_ROOT')->value;?>
|
||||
/productos"><< Regresar</a></div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user