Files
ventas_php/templates/forms/agregar-devolucion.tpl

77 lines
2.4 KiB
Smarty
Executable File

<div style="float:left">
Folio:
<br />
<div class="txtFrm" style="width:100px; text-align:center">{$info.folio}</div>
</div>
<div style="float:left; padding-left:40px">
Folio Novomoda:
<br />
<input type="text" class="largeInput" name="ventaId" id="ventaId" value="" style="width:110px" />
</div>
<div style="float:left"></div>
<div style="clear:both"></div>
Vendedor:
<br />
<div class="txtFrm" style="width:330px">{$info.usuario}</div>
C&oacute;digo de Barra:
<br />
<input type="text" class="largeInput" name="codigoBarra" id="codigoBarra" style="width:330px" autofocus="autofocus" onkeyup="CheckKey(event)" />
Producto:
<br />
<div class="txtFrm" id="txtProducto" style="width:330px">&nbsp;</div>
<div style="float:left">
Cantidad:
<br />
<input type="text" class="largeInput" name="cantidad" id="cantidad" value="1" />
</div>
<div style="float:right; margin-right:5px">
<br />
<input type="button" style="padding:8px; width:100px" onclick="BuscarProducto()" value="Buscar" />
</div>
<div style="clear:both"></div>
<div style="float:left">
Precio Unitario:
<br />
<div class="txtFrm" id="txtPrecioUni" style="width:100px; text-align:center">0.00</div>
</div>
<div style="float:left; padding-left:10px">
Disponible:
<br />
<div class="txtFrm" id="txtDisp" style="width:100px; text-align:center">0</div>
</div>
<div class="clear"></div>
<div align="center" style="padding-top:10px">
<input type="hidden" name="idProdItem" id="idProdItem" value="" />
<input type="hidden" name="disponible" id="disponible" value="0" />
<input type="button" name="btnAgregar" style="padding:10px; width:300px" onclick="AddProduct()" value="Agregar" />
</div>
<div style="height:10px"></div>
<hr />
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="right" height="40"><span style="font-size:14px"><b>Total:</b></span></td>
<td width="120" align="right">
<div class="txtFrm" id="txtTotal" style="width:100px; font-weight:bold">0.00</div>
</td>
</tr>
</table>
<div align="center">
<div style="float:left; margin-left:20px">
<input type="button" name="btnAgregar" style="padding:10px; width:150px" onclick="SaveDevolucion()" value="Finalizar Devoluci&oacute;n" />
</div>
<div style="float:left; margin-left:10px">
<input type="button" name="btnCancel" style="padding:10px; width:150px" onclick="CancelarDevolucion()" value="Cancelar Devoluci&oacute;n" />
</div>
</div>