From cbe74cddf06908bd3f48524bf1a16afd7ed2a73e Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Fri, 5 Apr 2024 11:19:21 -0700 Subject: [PATCH] --Actualizar totalconimpuestos al aplicar descuento por porcentaje --- Ventas/Ventas.aspx.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index 0ee16f359..0bf8ed550 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -37833,6 +37833,8 @@ Partial Class Ventas RowUpdate("ImporteIVA") = ImporteIVA + RowUpdate("TotalConImpuestos") = (RowUpdate("Total").ToString().ToDecimal() - RowUpdate("Descuento").ToString().ToDecimal() + RowUpdate("ImporteIVA").ToString().ToDecimal()).RoundSQL(2) + CalculaTotalesVenta() RegistraScript("$('#ModalDescPS').modal('hide');") Else