Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
304 lines (284 sloc) 9.34 KB
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="RegTransferencia.aspx.vb" Inherits="RegTransferencia" ValidateRequest="false" %>
<%@ Register assembly="Cooperator.Framework.Web" namespace="Cooperator.Framework.Web.Controls" tagprefix="nds" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
.Tema{
text-align:center;
color:#0D2642;
padding: 4px 4px 4px 4px;
font-size:18px;
text-shadow:#666;
font-weight:bold;
}
.button {
border: 1px solid #DDD;
-webkit-box-shadow: 0 1px 1px #fff;
-moz-box-shadow: 0 1px 1px #fff;
font: bold 11px Sans-Serif;
padding: 6px 10px;
white-space: nowrap;
vertical-align: middle;
color: #666;
background: transparent;
cursor: pointer;
}
.etiqueta{
color:#333;
background-color:#E2EEFA;
}
.mGrid {
width: 100%;
background-color: #fff;
margin: 5px 0 10px 0;
border: solid 1px #525252;
border-collapse:collapse;
}
.mGrid th {
padding: 4px 2px;
color: #fff;
background: #424242 url('Style/grd_head.png') repeat-x 50% top;
border-left: solid 1px #525252;
font-size: 0.9em;
}
.mGrid td {
padding: 2px;
border: solid 1px #c1c1c1;
color: #717171;
}
.style1
{
height: 18px;
}
</style>
<script language="JavaScript" type ="text/javascript">
function urlCliente() {
hidden = open('Mantenimientos/MantoCliente.aspx?trans=gen', 'NewWindow', 'top=25,left=100, width=600,height=600,status=yes, resizable=yes,scrollbars=yes');
}
function verComprobante() {
var objeto = document.all;
hidden = open('ComprobanteGenerado.aspx?comprobante=' + objeto.hdTransferencia.value, 'Comprobante', 'top=25,left=100, width=750,height=800,status=yes, resizable=yes,scrollbars=yes');
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table cellpadding="2" cellspacing="0" id="TableForm" align="center" >
<tr>
<td class="Tema">
Registro de Transferencia<br />
Desechos</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td colspan="2">
<asp:Button ID="btnAgregar" runat="server" Text="Agregar" CssClass="button" />
<asp:Button ID="btnGuardar" runat="server" Text="Guardar" ValidationGroup="1"
CssClass="button" />
<asp:Button ID="btnModificar" runat="server" Text="Modificar"
CssClass="button" />
<asp:Button ID="btnCancelar" runat="server" Text="Cancelar"
style="height: 26px" CssClass="button" />
<asp:Button ID="btnDeschabilitar" runat="server" Text="Deshabilitar"
CssClass="button" />
<asp:Button ID="btnBuscar" runat="server" Text="Buscar" CssClass="button" />
</td>
</tr>
<tr>
<td>
<asp:HiddenField ID="hdIdCliente" runat="server" />
</td>
<td>
<asp:HiddenField ID="hdTransferencia" runat="server" />
</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="etiqueta">
No. Transferencia</td>
<td class="etiqueta">
<asp:TextBox ID="txtIdTransferencia" runat="server" ReadOnly="True"></asp:TextBox>
</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="etiqueta">
Fecha de ingreso</td>
<td class="etiqueta">
<asp:TextBox ID="txtFechaIngreso" runat="server" ReadOnly="True"></asp:TextBox>
</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="etiqueta">
Cliente</td>
<td class="etiqueta">
<asp:TextBox ID="txtCliente" runat="server" ReadOnly="True"></asp:TextBox>
</td>
<td>
<asp:Button ID="btnBuscarCliente" runat="server" CssClass="button"
Text="Buscar Cliente" />
</td>
<td>
</td>
</tr>
<tr>
<td class="etiqueta">
Punto de Transferencia</td>
<td class="etiqueta">
<asp:Label ID="lblPuntoTransferencia" runat="server"></asp:Label>
</td>
<td>
<asp:HiddenField ID="hdPuntoTransferencia" runat="server" />
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="etiqueta">
Tipo de Ingreso</td>
<td class="etiqueta">
<asp:TextBox ID="txtTipoIngreso" runat="server" ReadOnly="True"></asp:TextBox>
</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="etiqueta">
Transporte</td>
<td class="etiqueta">
<asp:TextBox ID="txtTransporte" runat="server" ReadOnly="True"></asp:TextBox>
</td>
<td>
<asp:HiddenField ID="hdPesoTara" runat="server" />
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="etiqueta">
Desechos</td>
<td class="etiqueta">
<asp:CheckBoxList ID="chkDesechos" runat="server" RepeatColumns="4"
RepeatDirection="Horizontal">
</asp:CheckBoxList>
</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="etiqueta">
Peso Bruto</td>
<td class="etiqueta">
<asp:TextBox ID="txtPesoBruto" runat="server" AutoPostBack="True"
ReadOnly="True"></asp:TextBox>
</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="etiqueta">
Peso Neto</td>
<td class="etiqueta">
<asp:TextBox ID="txtPesoNeto" runat="server" ReadOnly="True"></asp:TextBox>
</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td colspan="4" >
<asp:Button ID="btnVerComprobante" runat="server" CssClass="button"
Text="Ver Comprobante" />
</td>
</tr>
<tr>
<td colspan="4" id="grid">
&nbsp;</td>
</tr>
<tr>
<td>
* Campos requeridos.</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="style1">
</td>
<td class="style1">
</td>
<td class="style1">
</td>
<td class="style1">
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
<nds:msgbox id="MsgBox1" runat="server"></nds:msgbox>
<asp:ValidationSummary ID="ValidationSummary1" runat="server"
ShowMessageBox="True" ShowSummary="False" ValidationGroup="1" />
</form>
</div>
</body>
</html>