--FIX limitacion de saldos en aplicacion de NC con RNC
This commit is contained in:
@@ -9619,10 +9619,11 @@
|
|||||||
TxtImporte.value = FormatoNumero(ImporteRestante, 2);
|
TxtImporte.value = FormatoNumero(ImporteRestante, 2);
|
||||||
$get('TxtNCImporte').value = FormatoNumero(ToDouble($get('TxtNCImporte').value) + ToDouble(TxtImporte.value), 2);
|
$get('TxtNCImporte').value = FormatoNumero(ToDouble($get('TxtNCImporte').value) + ToDouble(TxtImporte.value), 2);
|
||||||
}else {
|
}else {
|
||||||
$get('TxtNCImporte').value = FormatoNumero(ToDouble($get('TxtNCImporte').value) + Importe, 2);
|
$get('TxtNCImporte').value = FormatoNumero(ToDouble($get('TxtNCImporte').value) + Importe, 2);
|
||||||
|
TxtImporte.value = FormatoNumero(Importe, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ToDouble(TxtImporte.value) <= 0) {
|
if (ToDouble(TxtImporte.value.replace(",", "")) <= 0) {
|
||||||
Chk.checked = false;
|
Chk.checked = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user