-- redondeo en liquidación
This commit is contained in:
@@ -693,7 +693,7 @@
|
||||
if (textBoxes[i].value != '') {
|
||||
idd = textBoxes[i].id.replace('C_GvCxC_TxtAbonar_', '');
|
||||
Ventas = Ventas + (Importe == 0 ? '' : ', ') + $get("C_GvCxC_HplF_" + idd).innerText;
|
||||
abono = parseFloat(textBoxes[i].value.split(',').join(''));
|
||||
abono = ToDouble(textBoxes[i].value);
|
||||
moneda = $get("C_GvCxC_LtlMoneda_" + idd).innerText;
|
||||
|
||||
if (monedaPago == 1 && moneda == 'USD') {
|
||||
@@ -708,7 +708,7 @@
|
||||
}
|
||||
if (textBoxes[i].id.indexOf('C_GvCxC_TxtComision') >= 0) {
|
||||
if (textBoxes[i].value != '') {
|
||||
abonoComision = parseFloat(textBoxes[i].value.split(',').join(''));
|
||||
abonoComision = ToDouble(textBoxes[i].value);
|
||||
moneda = $get("C_GvCxC_LtlMoneda_" + idd).innerText;
|
||||
if (monedaPago == 1 && moneda == 'USD') {
|
||||
facDolares = true
|
||||
@@ -954,6 +954,7 @@
|
||||
|
||||
let Total = 0.0;
|
||||
let Anticipos = 0.0;
|
||||
debugger;
|
||||
|
||||
$( ClsSelLiqVenta).each(function () {
|
||||
|
||||
@@ -966,11 +967,10 @@
|
||||
|
||||
});
|
||||
|
||||
Total = Total + Anticipos;
|
||||
|
||||
Total = Total + Anticipos;
|
||||
|
||||
$(ClsSelLiqVentaTotal).each(function () {
|
||||
$(this).val(Total);
|
||||
$(this).val(Total.toFixed(2));
|
||||
FormatoMoneda2($(this));
|
||||
});
|
||||
|
||||
@@ -979,6 +979,7 @@
|
||||
var Suma = SumaValores(pagoMultiple, monedaPago);
|
||||
$get('TxtImporte').value = FormatoNumero(Suma, 2);
|
||||
|
||||
|
||||
}
|
||||
|
||||
function disablekeys()
|
||||
|
||||
Reference in New Issue
Block a user