Fix check deposito
This commit is contained in:
parent
086597985b
commit
326a3a00b2
@ -690,7 +690,7 @@ public class SpedizioneViewModel {
|
||||
if (mtbColt != null && mtbColt.getMtbColr() != null && !mtbColt.getMtbColr().isEmpty()) {
|
||||
if (mtbColt.getSegno() != -1) {
|
||||
|
||||
boolean codMdepMatchPreviousPick = mCurrentMtbColt != null && (mtbColt.getMtbColr().isEmpty() || mCurrentMtbColt.getCodMdep().equalsIgnoreCase(mtbColt.getCodMdep()));
|
||||
boolean codMdepMatchPreviousPick = mCurrentMtbColt == null || mtbColt.getMtbColr().isEmpty() || mCurrentMtbColt.getCodMdep().equalsIgnoreCase(mtbColt.getCodMdep());
|
||||
boolean codMdepIsValid = SettingsManager.iDB().getAvailableCodMdep().stream()
|
||||
.anyMatch(x -> x.getCodMdep().equalsIgnoreCase(mtbColt.getCodMdep()));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user