diff --git a/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx b/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx index c6faf13aa..c277caace 100644 --- a/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx +++ b/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx @@ -189,7 +189,7 @@
- + <%-- Requerimiento 10 Inicio --%>
@@ -338,6 +338,7 @@
+
@@ -438,7 +439,8 @@ - + + <%-- Requerimiento 10 Fin --%>

diff --git a/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx.cs b/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx.cs index 7f54d1939..b1d19a290 100644 --- a/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx.cs +++ b/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx.cs @@ -91,8 +91,9 @@ public partial class Forms_Trans_frwCartaSolicitud : General cartaBL objCartaBL; DropDownList ddlTemporal, ddlTemporal2; string strNumSolicitudTMP = string.Empty; + //Requerimiento 10 int nNumeroSolicitudCFIA = 0; - + //Requerimiento 10 #region variable firma digital int nNumSolicitudTMP = 0; int nPKReutilizaTMP = 0; @@ -126,7 +127,10 @@ public partial class Forms_Trans_frwCartaSolicitud : General { try { + //Requerimiento 10 strPKSolicitudTMP = Session["PKSOLICITUD"].ToString(); + //Requerimiento 10 + ScriptManager.GetCurrent(Page).RegisterPostBackControl(btnNuevoCarta); ScriptManager.GetCurrent(Page).RegisterPostBackControl(grvListaCartaSolicitud); @@ -155,7 +159,9 @@ public partial class Forms_Trans_frwCartaSolicitud : General } if (Request["d"].ToString() == "firmar") chkFirmado.Visible = true; + //Requerimiento 10 chkNotificacion.Visible = true; + //Requerimiento 10 } if ((!IsPostBack) && (Session.Count > 0)) @@ -200,7 +206,7 @@ public partial class Forms_Trans_frwCartaSolicitud : General } } - + //Requerimiento 10 Inicio protected void btnSalirNotificacionCliente_Click(object sender, EventArgs e) { try @@ -459,10 +465,13 @@ public partial class Forms_Trans_frwCartaSolicitud : General MensajeError("Se produjo un error en la operación", ex); } } + + //Requerimiento 10 Fin #endregion #region Eventos Controles Web (R3) + //Requerimiento 10 Inicio protected void btnEnviarRevision_Click(object sender, EventArgs e) //M0 { try @@ -833,6 +842,7 @@ public partial class Forms_Trans_frwCartaSolicitud : General EjecutarScript("inicializaTab('formulario');"); } } + //Requerimiento 10 Fin protected void btnNuevaCarta_Click(object sender, EventArgs e) //M1 { @@ -1598,12 +1608,12 @@ public partial class Forms_Trans_frwCartaSolicitud : General } } + //Requerimiento 10 Inicio else { { ClientScript.RegisterStartupScript(this.GetType(), "Error", ""); } - - } + //Requerimiento 10 Fin //// To copy a file to another location and //// overwrite the destination file if it already exists. @@ -2766,6 +2776,7 @@ public partial class Forms_Trans_frwCartaSolicitud : General objNotificacionBL.objnotificacionEL.message = "OK"; int nValorRetornado = objNotificacionBL.cancelarNotificacion(objNotificacionBL.objnotificacionEL); + //Requerimiento 10 Inicio #region Notificacion if (chkNotificacion.Checked) { @@ -2808,6 +2819,7 @@ public partial class Forms_Trans_frwCartaSolicitud : General MensajeAlerta("Falta finalizar la notificación al usuario."); } #endregion + //Requerimiento 10 Fin } //ClientScript.RegisterStartupScript(this.GetType(), "Error", ""); } @@ -2992,6 +3004,7 @@ public partial class Forms_Trans_frwCartaSolicitud : General } return bValorRetornado; } + //Requerimiento 10 Inicio private bool VerificarNotificacion() { bool bValor = false; @@ -3216,8 +3229,7 @@ public partial class Forms_Trans_frwCartaSolicitud : General return nValorRetornado; } - - + //Requerimiento 10 Fin private void AbrirVentanaEmergenteDevolucion() {