From e552c433d844826b4de63a020a205d82e735137d Mon Sep 17 00:00:00 2001 From: janeth arvizu Date: Thu, 12 Sep 2019 13:53:05 -0700 Subject: [PATCH 1/2] =?UTF-8?q?Se=20agreg=C3=B3=20segunda=20y=20tercera=20?= =?UTF-8?q?columna=20de=20Descuento=20de=20Marca?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App_Code/ClsProductosServicios.vb | 8 +++- Ventas/Clientes.aspx | 61 +++++++++++++++++++++++++------ Ventas/Clientes.aspx.vb | 30 +++++++++++---- 3 files changed, 78 insertions(+), 21 deletions(-) diff --git a/App_Code/ClsProductosServicios.vb b/App_Code/ClsProductosServicios.vb index 960390491..f32ed4378 100644 --- a/App_Code/ClsProductosServicios.vb +++ b/App_Code/ClsProductosServicios.vb @@ -1858,7 +1858,7 @@ Public Class ClsProductosServicios Return Retorno End Function - Public Function AddPorcentajeMarcas(CveCliente As Integer, CveMarca As Integer, PorcentajeProducto As Decimal, CveUsuario As Integer) As Boolean + Public Function AddPorcentajeMarcas(CveCliente As Integer, CveMarca As Integer, PorcentajeProducto As Decimal, PorcentajeProducto2 As Decimal, PorcentajeProducto3 As Decimal, CveUsuario As Integer) As Boolean Dim Retorno As Boolean = False DataAdapter("PA_Vta_PorcentajeMarcasAdd") @@ -1867,6 +1867,8 @@ Public Class ClsProductosServicios .Add("@CveCliente", SqlDbType.Int).Value = CveCliente .Add("@CveMarca", SqlDbType.Int).Value = CveMarca .Add("@PorcentajeProducto", SqlDbType.SmallMoney).Value = PorcentajeProducto + .Add("@PorcentajeProducto2", SqlDbType.SmallMoney).Value = PorcentajeProducto2 + .Add("@PorcentajeProducto3", SqlDbType.SmallMoney).Value = PorcentajeProducto3 .Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario End With @@ -1879,7 +1881,7 @@ Public Class ClsProductosServicios Return Retorno End Function - Public Function UpdatePorcentajeMarcas(CveCliente As Integer, CveMarca As Integer, PorcentajeProducto As Decimal) As Boolean + Public Function UpdatePorcentajeMarcas(CveCliente As Integer, CveMarca As Integer, PorcentajeProducto As Decimal, PorcentajeProducto2 As Decimal, PorcentajeProducto3 As Decimal) As Boolean Dim Retorno As Boolean = False DataAdapter("PA_Vta_PorcentajeMarcasUpdate") @@ -1888,6 +1890,8 @@ Public Class ClsProductosServicios .Add("@CveCliente", SqlDbType.Int).Value = CveCliente .Add("@CveMarca", SqlDbType.Int).Value = CveMarca .Add("@PorcentajeProducto", SqlDbType.SmallMoney).Value = PorcentajeProducto + .Add("@PorcentajeProducto2", SqlDbType.SmallMoney).Value = PorcentajeProducto2 + .Add("@PorcentajeProducto3", SqlDbType.SmallMoney).Value = PorcentajeProducto3 End With Try diff --git a/Ventas/Clientes.aspx b/Ventas/Clientes.aspx index 371c4b76a..35162a27a 100644 --- a/Ventas/Clientes.aspx +++ b/Ventas/Clientes.aspx @@ -5492,10 +5492,12 @@ # Marca -<%-- Precio
+ <%-- Precio
General --%> % -<%-- Precio
+ % + % + <%-- Precio
Aplicado --%> @@ -5504,8 +5506,10 @@
- -<%-- + + + + <%--
@@ -5515,16 +5519,28 @@
-<%-- + <%-- --%> - + -<%-- + + + + <%-- + --%> + + + + + <%-- + --%> + + <%-- --%> @@ -5554,7 +5570,7 @@ -<%-- --%> + <%-- --%> @@ -5569,8 +5585,32 @@ + + + + + + + + + + + -<%-- --%> + + + + + + + + + + + + + + <%-- --%> @@ -5607,7 +5647,7 @@ <%-- FIN MODAL MODIFICAR PORCENTAJE MARCAS --%> - <%-- MODAL MODIFICAR PRECIOS PS --%> + <%-- MODAL MODIFICAR PRECIOS PS --%>