Sbloccata possibilità di imputare una quantità a peso variabile maggiore della qta ordinata.

This commit is contained in:
Giuseppe Scorrano 2021-02-18 13:07:44 +01:00
parent 8e7ad53ec9
commit b30bdb3df1

View File

@ -320,7 +320,7 @@ public class DialogInputQuantityV2ViewModel {
newValue = UtilityBigDecimal.getLowerBetween(newValue, totalQtaAvailable); newValue = UtilityBigDecimal.getLowerBetween(newValue, totalQtaAvailable);
//Se è piu' grande della qta da prelevare e non posso aggiungere qta extra allora ricalcolo //Se è piu' grande della qta da prelevare e non posso aggiungere qta extra allora ricalcolo
if (!canOverflowOrderQuantity) { if (!canOverflowOrderQuantity && this.mtbAart.get().isFlagQtaCnfFissaBoolean()) {
newValue = UtilityBigDecimal.getLowerBetween(newValue, totalQtaOrd); newValue = UtilityBigDecimal.getLowerBetween(newValue, totalQtaOrd);
this.internalQtaTot = newValue; this.internalQtaTot = newValue;
this.mListener.onDataChanged(); this.mListener.onDataChanged();