From 566e031808f201357fe9df2f34e573e7d928d787 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Tue, 25 Feb 2020 17:50:53 -0700 Subject: [PATCH] anticipos en reporte de ingresos --- Ventas/RepIngresos.aspx | 2 +- Ventas/RepIngresos.aspx.vb | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Ventas/RepIngresos.aspx b/Ventas/RepIngresos.aspx index bf0475e42..6647ee016 100644 --- a/Ventas/RepIngresos.aspx +++ b/Ventas/RepIngresos.aspx @@ -162,7 +162,7 @@ + DataKeyNames="Importe,Descuento,Amortizacion,IVA,IEPS,ImpuestoLocal,Total" OnRowDataBound="GVRepIngresos_RowDataBound" > diff --git a/Ventas/RepIngresos.aspx.vb b/Ventas/RepIngresos.aspx.vb index 57d099dd5..56a2fed0a 100644 --- a/Ventas/RepIngresos.aspx.vb +++ b/Ventas/RepIngresos.aspx.vb @@ -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