diff --git a/OC/OC.aspx b/OC/OC.aspx index 24f8facb8..d43c018cc 100644 --- a/OC/OC.aspx +++ b/OC/OC.aspx @@ -862,7 +862,7 @@ - + diff --git a/OC/OC.aspx.vb b/OC/OC.aspx.vb index 3c43ac662..820e11b88 100644 --- a/OC/OC.aspx.vb +++ b/OC/OC.aspx.vb @@ -964,6 +964,8 @@ Partial Class OC DtDetalle.Columns.Add("CveContratoDetalle", GetType(Integer)) DtDetalle.Columns.Add("CantidadNoEditable", GetType(Double)) + DtDetalle.Columns.Add("CveOrdenCompraDetalle", GetType(Integer)) + ' DtDetalle.Columns.Add("ClasificacionOG", GetType(String)) End Sub @@ -3259,11 +3261,22 @@ Partial Class OC CargaSuperior() End Sub Protected Sub GvD_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvD.RowDataBound + If e.Row.RowType = DataControlRowType.DataRow Then + Try + e.Row.FCLabel("LtlCantidad").Attributes.Add("data-toggle", "tooltip") + e.Row.FCLabel("LtlCantidad").Attributes.Add("Title", e.Row.DataKey("CveOrdenCompraDetalle")) + Catch ex As Exception + + End Try + If Not (e.Row.RowState = DataControlRowState.Edit OrElse e.Row.RowState = 5) Then + + + If e.Row.RowState = DataControlRowState.Normal Or e.Row.RowState = DataControlRowState.Alternate Then If UsuarioActual.Empresa.Tipo_CentroCosto = 1 Or UsuarioActual.Empresa.Tipo_CentroCosto = 2 Then e.Row.FCLiteral("LtlSubProyecto").Text = e.Row.DBCampo("SubProyecto")