IE. que se permitan negativos en ot. ingresos. para permitir exceder el monto del ie.
- clsinventarios, parametro de Serie en kardex -Folios, Serie
This commit is contained in:
@@ -1547,7 +1547,10 @@
|
||||
|
||||
//VALIDA QUE LA CANTIDAD DE T (TXT) NO SEA MAYOR A C
|
||||
function ValidarCantidad(t, c) {
|
||||
t.value = (ToDouble(t.value) > ToDouble(c) ? c : t.value)
|
||||
var Ot = 0.00;
|
||||
// considera importe de OT ingresos, para que se peuda exceder
|
||||
if ($get('TxtOtrosIngresosEgresos')) { Ot = -ToDouble($get('TxtOtrosIngresosEgresos').value);}
|
||||
t.value = (ToDouble(t.value) > ToDouble(c) + Ot ? c : t.value)
|
||||
}
|
||||
|
||||
var TipoCambioActual = 0.0;
|
||||
@@ -1557,7 +1560,7 @@
|
||||
$get("BtnCambiaTipoMoneda").click();
|
||||
TipoCambioActual = TipoCambioTxt;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</asp:Content>
|
||||
|
||||
Reference in New Issue
Block a user