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 {
|
android {
|
||||||
|
|
||||||
def appVersionCode = 519
|
def appVersionCode = 521
|
||||||
def appVersionName = '1.47.06'
|
def appVersionName = '1.47.08'
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
|
|||||||
@ -78,7 +78,7 @@ public class UtilityBarcode {
|
|||||||
|
|
||||||
|
|
||||||
public static boolean isEanPeso(BarcodeScanDTO barcodeScanDTO) {
|
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) {
|
public static boolean isEan8(BarcodeScanDTO barcodeScanDTO) {
|
||||||
|
|||||||
@ -45,9 +45,7 @@ public class DialogSelectDocInfo_FornitoreAdapter extends ArrayAdapter<DialogSel
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return this.getOriginalModel().getCodAnag() +
|
return this.getOriginalModel().getDescrizione();
|
||||||
(this.getOriginalModel().getCodVdes() != null ? " - " + this.getOriginalModel().getCodVdes() : "") +
|
|
||||||
" ( " + this.getOriginalModel().getDescrizione() + " )";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1521,9 +1521,6 @@ public class SpedizioneViewModel {
|
|||||||
.setMtbAart(null);
|
.setMtbAart(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
var clonedTargetMtbColt = (MtbColt) mCurrentMtbColt.clone();
|
|
||||||
clonedTargetMtbColt.setMtbColr(null);
|
|
||||||
|
|
||||||
var insertUDSRowRequestDto = new InsertUDSRowRequestDTO()
|
var insertUDSRowRequestDto = new InsertUDSRowRequestDTO()
|
||||||
.setSourceMtbColr(clonedSourceMtbColr)
|
.setSourceMtbColr(clonedSourceMtbColr)
|
||||||
.setCodMart(pickingObjectDTO.getMtbAart().getCodMart())
|
.setCodMart(pickingObjectDTO.getMtbAart().getCodMart())
|
||||||
@ -1531,7 +1528,7 @@ public class SpedizioneViewModel {
|
|||||||
.setQtaCnf(qtaCnf)
|
.setQtaCnf(qtaCnf)
|
||||||
.setNumCnf(numCnf)
|
.setNumCnf(numCnf)
|
||||||
.setPartitaMag(partitaMag)
|
.setPartitaMag(partitaMag)
|
||||||
.setTargetMtbColt(clonedTargetMtbColt);
|
.setTargetMtbColt(mCurrentMtbColt.clone(false));
|
||||||
|
|
||||||
if (dataScad != null)
|
if (dataScad != null)
|
||||||
insertUDSRowRequestDto
|
insertUDSRowRequestDto
|
||||||
@ -1546,6 +1543,7 @@ public class SpedizioneViewModel {
|
|||||||
createdMtbColr = this.mColliScaricoRESTConsumer.insertUDSRowSynchronized(insertUDSRowRequestDto);
|
createdMtbColr = this.mColliScaricoRESTConsumer.insertUDSRowSynchronized(insertUDSRowRequestDto);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
this.sendError(ex);
|
this.sendError(ex);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
pickingObjectDTO.getWithdrawMtbColrs().add(createdMtbColr);
|
pickingObjectDTO.getWithdrawMtbColrs().add(createdMtbColr);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user