Fix canOverflowQuantity

This commit is contained in:
Giuseppe Scorrano 2020-06-08 12:26:11 +02:00
parent bce079db79
commit fc1e3da5e9

View File

@ -198,7 +198,7 @@ public class DialogInputQuantityV2ViewModel {
newValue = UtilityBigDecimal.getLowerBetween(newValue, totalNumCnfOrd); newValue = UtilityBigDecimal.getLowerBetween(newValue, totalNumCnfOrd);
this.internalNumCnf = newValue; this.internalNumCnf = newValue;
this.mListener.onDataChanged(); this.mListener.onDataChanged();
return; // return;
} }
if (!this.blockedQtaTot.get() && this.internalQtaCnf != null) if (!this.blockedQtaTot.get() && this.internalQtaCnf != null)
@ -235,7 +235,7 @@ public class DialogInputQuantityV2ViewModel {
newValue = UtilityBigDecimal.getLowerBetween(newValue, totalQtaOrd); newValue = UtilityBigDecimal.getLowerBetween(newValue, totalQtaOrd);
this.internalQtaTot = newValue; this.internalQtaTot = newValue;
this.mListener.onDataChanged(); this.mListener.onDataChanged();
return; // return;
} }