git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C547
This commit is contained in:
kledezma 2021-03-10 21:41:19 +00:00
parent 72b571cc4e
commit 717483d36c
3 changed files with 32 additions and 2 deletions

View file

@ -340,7 +340,7 @@
</div>
<div id="dvCheckNotificacion">
<asp:CheckBox ID="chkNotificacion" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chkNotificacion_CheckedChanged" Visible="false" Text="Notificar al Usuario"/>
<asp:CheckBox ID="chkNotificacion" runat="server" Checked="false" Visible="false" AutoPostBack="true" OnCheckedChanged="chkNotificacion_CheckedChanged" Text="Notificar al Usuario"/>
</div>
</td>

View file

@ -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))

View file

@ -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