Fix canOverflowQuantity
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user