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