This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2022-10-28 11:16:26 -07:00
parent 4fea6ac116
commit 2e002de6c7
4 changed files with 70 additions and 11 deletions

View File

@@ -196,7 +196,7 @@ public partial class Nomina_ReportedeAcumulados : ClsPaginas
//string ctipo = "P";
int CurrentColumn = 2;
int CurrentColumn = 4;
BoundField bf;
foreach (DataRow row in dtConceptos.FiltraParametros("Tipo IN ('P') AND EsPadre = 1 ").Rows)
{
@@ -700,6 +700,8 @@ public partial class Nomina_ReportedeAcumulados : ClsPaginas
if (e.Row.RowType == DataControlRowType.DataRow)
{
Literal LtlNombre = e.Row.FCLiteral("LtlNombre");
Literal LtlSucursal = e.Row.FCLiteral("LtlSucursal");
Literal LtlRegistroPatronal = e.Row.FCLiteral("LtlRegistroPatronal");
int cvePersonal = e.Row.DataKey("CvePersonal").ToEntero();
string Nombre = e.Row.DataKey("Nombre").ToString();
string Codigo = e.Row.DataKey("Codigo").ToString();
@@ -710,6 +712,8 @@ public partial class Nomina_ReportedeAcumulados : ClsPaginas
{
LtlNombre.Text = String.Format("<a class=\"Texto sline\" href=\"/RH/Personal.aspx?CvePersonal={0}\"><span style=\"display:inline-block;min-width:31px;\">{2}</span> <span style=\"display:inline-block;\">{1}</span></a>", cvePersonal, Nombre, Codigo);
LtlSucursal.Text = String.Format("{0}", e.Row.DataKey("SubProyecto"));
LtlRegistroPatronal.Text = String.Format("{0}", e.Row.DataKey("RegistroPatronal"));
}
else
{