From ee611299eb75c05130495e980609a1ff9262e2be Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Tue, 7 May 2024 17:37:35 -0700 Subject: [PATCH] --FIX calculo de porcentaje al aplicar NC --- Ventas/Ventas.aspx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ventas/Ventas.aspx b/Ventas/Ventas.aspx index f25195b13..acf2e7a94 100644 --- a/Ventas/Ventas.aspx +++ b/Ventas/Ventas.aspx @@ -10773,7 +10773,7 @@ function CalculaPorcentajeNC() { var ImporteReferencia = (($('#C_DdlNCNivelImporte').val() == "1") ? ToDouble($get('TxtTotal').value) : ToDouble($get('TxtSubTotal').value)); //var ImporteReferencia = ToDouble($get('TxtTotal').value); - $get('TxtNCPorcentaje').value = FormatoNumero(ToDouble($get('TxtNCImporte').value * 100.00) / ImporteReferencia,4) ; + $get('TxtNCPorcentaje').value = (ToDouble($get('TxtNCImporte').value * 100.00) / ImporteReferencia).toFixed(4) ; } function CambioTipoMoneda(chk, saldo, txt, tipocambio, CveMoneda) {