--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

@@ -9620,9 +9620,10 @@
$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;
} }