diff --git a/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx b/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx
index c277caace..1d8724a24 100644
--- a/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx
+++ b/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx
@@ -340,7 +340,7 @@
diff --git a/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx.cs b/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx.cs
index b1d19a290..e557c1dc4 100644
--- a/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx.cs
+++ b/SIGPC/ProyectoSIGPC/Forms/TRA/frwCartaSolicitud.aspx.cs
@@ -158,10 +158,13 @@ public partial class Forms_Trans_frwCartaSolicitud : General
btnFinalizar.Enabled = false;
}
if (Request["d"].ToString() == "firmar")
+ {
+
chkFirmado.Visible = true;
//Requerimiento 10
chkNotificacion.Visible = true;
//Requerimiento 10
+ }
}
if ((!IsPostBack) && (Session.Count > 0))
diff --git a/SIGPC/ProyectoSIGPC/Forms/TRA/frwProgramacionTrabajo.aspx.cs b/SIGPC/ProyectoSIGPC/Forms/TRA/frwProgramacionTrabajo.aspx.cs
index 21f8cfcd8..00fe6798b 100644
--- a/SIGPC/ProyectoSIGPC/Forms/TRA/frwProgramacionTrabajo.aspx.cs
+++ b/SIGPC/ProyectoSIGPC/Forms/TRA/frwProgramacionTrabajo.aspx.cs
@@ -1561,7 +1561,34 @@ public partial class Forms_Trans_frwProgramacionTrabajo : General
lblTituloActividad.Text = "Actividad N°" + n_pActividad.ToString();
lblEstadoA1.Text = dsEncargadosActividades.Tables[0].Rows[0]["DESCRIPCIONESTADO"].ToString();
lblFechaIngresoA1.Text = dsEncargadosActividades.Tables[0].Rows[0]["FECHAASIGNACIONRESPONSABLEACTIVIDAD"].ToString();
- lblFechaResolucionA1.Text = dsEncargadosActividades.Tables[0].Rows[0]["FECHADEVOLUCIONRESPONSABLEACTIVIDAD"].ToString();
+
+ //Requerimiento 5
+ if (dsEncargadosActividades.Tables[0].Rows[0]["FECHADEVOLUCIONRESPONSABLEACTIVIDAD"].ToString() != "")
+ {
+ int DiasDiferencia = objSolicitudBL.ObtenerDiferenciaDias(Convert.ToDateTime(dsEncargadosActividades.Tables[0].Rows[0]["FECHAASIGNACIONRESPONSABLEACTIVIDAD"]), Convert.ToDateTime(dsEncargadosActividades.Tables[0].Rows[0]["FECHADEVOLUCIONRESPONSABLEACTIVIDAD"]));
+
+ if (DiasDiferencia > 1)
+ {
+ lblFechaResolucionA1.Text = "(" + DiasDiferencia + " Días)" + " " + dsEncargadosActividades.Tables[0].Rows[0]["FECHADEVOLUCIONRESPONSABLEACTIVIDAD"].ToString();
+
+ }
+ else if (DiasDiferencia < 1)
+ {
+ lblFechaResolucionA1.Text = "(" + DiasDiferencia + " Días)" + " " + dsEncargadosActividades.Tables[0].Rows[0]["FECHADEVOLUCIONRESPONSABLEACTIVIDAD"].ToString();
+
+ }
+ else
+ {
+ lblFechaResolucionA1.Text = "(" + DiasDiferencia + " Día)" + " " + dsEncargadosActividades.Tables[0].Rows[0]["FECHADEVOLUCIONRESPONSABLEACTIVIDAD"].ToString();
+ }
+
+ }
+ else
+ {
+ lblFechaResolucionA1.Text = dsEncargadosActividades.Tables[0].Rows[0]["FECHADEVOLUCIONRESPONSABLEACTIVIDAD"].ToString();
+
+ }
+ //Requerimiento 5
//lblResponsableA1.Text = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(dsEncargadosActividades.Tables[0].Rows[0]["NOMBRECOMPLETO"].ToString().ToLower());
}
else