--FIX calculo de porcentaje al aplicar NC

This commit is contained in:
2024-05-07 17:37:35 -07:00
parent 9fdf377e79
commit ee611299eb

View File

@@ -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) {