-- mejoras

This commit is contained in:
2025-07-07 11:31:54 -07:00
parent e91eb17b9c
commit 77c2f67eff
2 changed files with 23 additions and 28 deletions

View File

@@ -180,7 +180,7 @@ Partial Class Contabilidad2_RepBalanzaComprobacion
RegistraScript("Enable();")
End Sub
Protected Sub GvIngresos_RowDataBound(sender As Object, e As GridViewRowEventArgs)
Protected Sub GvDatos_RowDataBound(sender As Object, e As GridViewRowEventArgs)
If e.Row.RowType = DataControlRowType.DataRow Then
If e.Row.DBCampo("CtaMayor") = "1" OrElse e.Row.DBCampo("CtaMayor") = "3" OrElse e.Row.DBCampo("CtaMayor") = "4" Then
@@ -189,9 +189,11 @@ Partial Class Contabilidad2_RepBalanzaComprobacion
'Acomoda Deudor y Acreedor
If e.Row.DBCampo("CveTipo") = "0" Then
'e.Row.Cells(3).HorizontalAlign = HorizontalAlign.Left
e.Row.FCLabel("LbSaldoInicial").Text = String.Format("{0} ", e.Row.DBCampo("SaldoInicial").FormatoNumero)
e.Row.FCLabel("LbSaldoInicial").Style.Remove("padding-right")
e.Row.FCLabel("LbSaldoActual").Text = " "
e.Row.FCLabel("LbSaldoInicial").Style.Add("padding-right", "65px")
e.Row.FCLabel("LbSaldoActual").Text = " "
e.Row.FCLabel("LbSaldoActual").Style.Add("padding-right", "65px")
End If
'Colorea NEGATIVOS