Fix - #257
This commit is contained in:
parent
12297b9479
commit
5e6d86cb6b
|
@ -369,7 +369,8 @@ function actualizar_deposito(grid){
|
|||
}
|
||||
suma += obj.importe.to_float()
|
||||
})
|
||||
$$('txt_deposito_importe').setValue(suma)
|
||||
|
||||
$$('txt_deposito_importe').setValue(suma.round(2))
|
||||
$$('deposito_descripcion').setValue(descripcion.slice(0, -1))
|
||||
grid.refresh()
|
||||
}
|
||||
|
@ -500,6 +501,7 @@ function validate_deposito(values){
|
|||
}
|
||||
suma += tmp
|
||||
})
|
||||
|
||||
if(suma > importe){
|
||||
msg = 'La suma del pago de facturas, no puede ser mayor al deposito'
|
||||
msg_error(msg)
|
||||
|
|
Loading…
Reference in New Issue