diff --git a/RH/CatPersonalRequerido.aspx.vb b/RH/CatPersonalRequerido.aspx.vb index a4caefa1a..f7c42d6bf 100644 --- a/RH/CatPersonalRequerido.aspx.vb +++ b/RH/CatPersonalRequerido.aspx.vb @@ -99,6 +99,7 @@ Partial Class RH_CatPersonalRequerido End Sub Private Sub CargaDepartamento() + DdlDepartamento.Items.Clear() DdlDepartamento.DataSource = GlobalDTDepartamentos.FiltraParametros("CveEmpresa = " & UsuarioActual.CveEmpresa) DdlDepartamento.DataBind() End Sub diff --git a/RH/RepIndiceRotacionPersonal.aspx b/RH/RepIndiceRotacionPersonal.aspx index 8a5eb11c5..7427349f3 100644 --- a/RH/RepIndiceRotacionPersonal.aspx +++ b/RH/RepIndiceRotacionPersonal.aspx @@ -105,7 +105,8 @@ - + diff --git a/RH/RepIndiceRotacionPersonal.aspx.vb b/RH/RepIndiceRotacionPersonal.aspx.vb index 569465a6a..080918e61 100644 --- a/RH/RepIndiceRotacionPersonal.aspx.vb +++ b/RH/RepIndiceRotacionPersonal.aspx.vb @@ -108,7 +108,8 @@ Partial Class Ventas_RepIndiceRotacionPersonal Protected Sub GVRegDatos_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GVRegDatos.RowDataBound - If e.Row.RowType = DataControlRowType.DataRow Then + If e.Row.RowType = DataControlRowType.DataRow Then + If Not (e.Row.RowState = DataControlRowState.Edit OrElse e.Row.RowState = 5) Then Dim sPorcentaje As String = e.Row.DBCampo("IRP").Trim @@ -124,12 +125,15 @@ Partial Class Ventas_RepIndiceRotacionPersonal e.Row.FCLabel("LblIrp").CssClass = "label label-success" ElseIf (porcentaje > 15.0 And porcentaje <= 30.0) Then e.Row.FCLabel("LblIrp").CssClass = "label label-warning" - End If - - - - - End If + End If + + End If + + If e.Row.DataKey("SubProyecto").ToString.Trim = "" Then + e.Row.CssClass = "SubTotales" + ' e.Row.Attributes.Add("class", "SubTotales") + End If + End If