--FIX limitacion de saldos en aplicacion de NC con RNC

This commit is contained in:
2024-05-08 17:58:46 -07:00
parent 5eab7f83db
commit bc785a03fa

View File

@@ -9619,10 +9619,11 @@
TxtImporte.value = FormatoNumero(ImporteRestante, 2);
$get('TxtNCImporte').value = FormatoNumero(ToDouble($get('TxtNCImporte').value) + ToDouble(TxtImporte.value), 2);
}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;
}