From fff810fa76f5fb97bd0c77474b2cce238e61c66a Mon Sep 17 00:00:00 2001 From: rrene Date: Fri, 18 Dec 2020 18:41:17 -0700 Subject: [PATCH] -- ajustes en comisiones jam --- Ventas/RepComisionesJAM.aspx | 4 ++-- Ventas/RepComisionesJAM.aspx.cs | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Ventas/RepComisionesJAM.aspx b/Ventas/RepComisionesJAM.aspx index cf06867b3..b3192cfd5 100644 --- a/Ventas/RepComisionesJAM.aspx +++ b/Ventas/RepComisionesJAM.aspx @@ -84,9 +84,9 @@ -
+
-
Esquema Nuevo:
+
ProForma:
diff --git a/Ventas/RepComisionesJAM.aspx.cs b/Ventas/RepComisionesJAM.aspx.cs index 721d3f7cf..f40c9d27d 100644 --- a/Ventas/RepComisionesJAM.aspx.cs +++ b/Ventas/RepComisionesJAM.aspx.cs @@ -62,7 +62,7 @@ public partial class Ventas_RepComisionesJAM : ClsPaginas GvDatos.Columns[21].Visible = UsuarioActual.TienePermisoProceso(311); GvDatos.Columns[22].Visible = UsuarioActual.TienePermisoProceso(311); - + divProforma.Visible = UsuarioActual.TienePermisoProceso(311); } @@ -135,6 +135,10 @@ public partial class Ventas_RepComisionesJAM : ClsPaginas e.Row.FCLinkButton("LnkInfo").Visible = false; } + + e.Row.Cells[23].ToolTip = string.Format("Utilidad:{0}", e.Row.DBCampo("UtilidadDetalle").FormatoNumero()); + //e.Row.FCLabel("LblCostoDolares").Visible = false; + //if (e.Row.DBCampo("CveMoneda").ToEntero() != 1) //{ // e.Row.Cells[15].Text = $"{e.Row.DBCampo("Costo").FormatoNumero()}
{e.Row.DBCampo("CostoDolares").FormatoNumero()}";