Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
3279c4e2af
@ -10,8 +10,8 @@ apply plugin: 'com.google.gms.google-services'
|
||||
|
||||
android {
|
||||
|
||||
def appVersionCode = 519
|
||||
def appVersionName = '1.47.06'
|
||||
def appVersionCode = 521
|
||||
def appVersionName = '1.47.08'
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
|
||||
@ -78,7 +78,7 @@ public class UtilityBarcode {
|
||||
|
||||
|
||||
public static boolean isEanPeso(BarcodeScanDTO barcodeScanDTO) {
|
||||
return (isEtichetta128(barcodeScanDTO) || isEan13(barcodeScanDTO)) && barcodeScanDTO.getStringValue().startsWith("2");
|
||||
return (isEtichetta128(barcodeScanDTO) || isEan13(barcodeScanDTO)) && barcodeScanDTO.getStringValue().length() == 13 && barcodeScanDTO.getStringValue().startsWith("2");
|
||||
}
|
||||
|
||||
public static boolean isEan8(BarcodeScanDTO barcodeScanDTO) {
|
||||
|
||||
@ -45,9 +45,7 @@ public class DialogSelectDocInfo_FornitoreAdapter extends ArrayAdapter<DialogSel
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.getOriginalModel().getCodAnag() +
|
||||
(this.getOriginalModel().getCodVdes() != null ? " - " + this.getOriginalModel().getCodVdes() : "") +
|
||||
" ( " + this.getOriginalModel().getDescrizione() + " )";
|
||||
return this.getOriginalModel().getDescrizione();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1521,9 +1521,6 @@ public class SpedizioneViewModel {
|
||||
.setMtbAart(null);
|
||||
}
|
||||
|
||||
var clonedTargetMtbColt = (MtbColt) mCurrentMtbColt.clone();
|
||||
clonedTargetMtbColt.setMtbColr(null);
|
||||
|
||||
var insertUDSRowRequestDto = new InsertUDSRowRequestDTO()
|
||||
.setSourceMtbColr(clonedSourceMtbColr)
|
||||
.setCodMart(pickingObjectDTO.getMtbAart().getCodMart())
|
||||
@ -1531,7 +1528,7 @@ public class SpedizioneViewModel {
|
||||
.setQtaCnf(qtaCnf)
|
||||
.setNumCnf(numCnf)
|
||||
.setPartitaMag(partitaMag)
|
||||
.setTargetMtbColt(clonedTargetMtbColt);
|
||||
.setTargetMtbColt(mCurrentMtbColt.clone(false));
|
||||
|
||||
if (dataScad != null)
|
||||
insertUDSRowRequestDto
|
||||
@ -1546,6 +1543,7 @@ public class SpedizioneViewModel {
|
||||
createdMtbColr = this.mColliScaricoRESTConsumer.insertUDSRowSynchronized(insertUDSRowRequestDto);
|
||||
} catch (Exception ex) {
|
||||
this.sendError(ex);
|
||||
return;
|
||||
}
|
||||
|
||||
pickingObjectDTO.getWithdrawMtbColrs().add(createdMtbColr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user