anticipos en reporte de ingresos

This commit is contained in:
2020-02-25 17:50:53 -07:00
parent db3b877b45
commit 566e031808
2 changed files with 9 additions and 2 deletions

View File

@@ -162,7 +162,7 @@
<asp:GridView ID="GVRepIngresos" runat="server" GridLines="None" CssClass="table table-hover table-striped GVRepIngresos ScrollAD Widthall" AutoGenerateColumns="False"
DataKeyNames="Importe,Descuento,Amortizacion,IVA,IEPS,ImpuestoLocal,Total">
DataKeyNames="Importe,Descuento,Amortizacion,IVA,IEPS,ImpuestoLocal,Total" OnRowDataBound="GVRepIngresos_RowDataBound" >
<Columns>
<asp:TemplateField HeaderText="Titulo">
<ItemTemplate>

View File

@@ -143,6 +143,13 @@ Partial Class Ventas_RepIngresos
Alert("No se encontraron datos con los filtros especificados", TipoMensaje.MsgAdvertencia)
End If
End Sub
End Sub
#End Region
Protected Sub GVRepIngresos_RowDataBound(sender As Object, e As GridViewRowEventArgs)
If e.Row.RowType = DataControlRowType.DataRow Then
If e.Row.DBCampo("ConceptoContable").Contiene("INGRESOS", "ANTICIPOS") Then
e.Row.CssClass = "Totales"
End If
End If
End Sub
End Class