From b661cf5822aeedd52b2448d9f7120cecda59f9db Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Wed, 25 May 2022 12:38:48 -0700 Subject: [PATCH] E140. Considerar cantidad en descuento de lubricantes --- Ventas/PV.aspx.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ventas/PV.aspx.vb b/Ventas/PV.aspx.vb index dd24d323b..94d46ff08 100644 --- a/Ventas/PV.aspx.vb +++ b/Ventas/PV.aspx.vb @@ -4393,7 +4393,7 @@ Partial Class PV End If Else If DrPS("CveClasificacion").ToString.ToEntero.Contiene(20516, 20515) Then - Descuento = PU * ClasificacionesDescuentos(DrPS("CveClasificacion").ToString.ToEntero) + Descuento = ((Cantidad * PU) * ClasificacionesDescuentos(DrPS("CveClasificacion").ToString.ToEntero)).RoundSQL(2) End If End If