Finish v1.34.03(387)
This commit is contained in:
commit
dfec2f2bd3
@ -10,8 +10,8 @@ apply plugin: 'com.google.gms.google-services'
|
||||
|
||||
android {
|
||||
|
||||
def appVersionCode = 386
|
||||
def appVersionName = '1.34.02'
|
||||
def appVersionCode = 387
|
||||
def appVersionName = '1.34.03'
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
|
||||
@ -313,7 +313,7 @@ public class Ean128Model {
|
||||
public String InternalPart;
|
||||
|
||||
///<summary>Informazioni interne</summary>
|
||||
public String Internal1;
|
||||
public String Internal1; //USED FOR COD_MART
|
||||
|
||||
///<summary>Informazioni interne</summary>
|
||||
public String Internal2;
|
||||
|
||||
@ -172,14 +172,20 @@ public class ProdDettaglioLineaViewModel {
|
||||
|
||||
public void checkBarcodeAndStartOrdine(BarcodeScanDTO dto) {
|
||||
this.sendOnLoadingStarted();
|
||||
|
||||
ProdLineStatusDTO prodLine = lineaProd.getValue();
|
||||
mBarcodeRESTConsumer.decodeEan128(dto, (ean128) -> {
|
||||
String codMart = ean128.Content;
|
||||
String codMart = ean128.Internal1;
|
||||
String partitaMag = ean128.BatchLot;
|
||||
if (!prodLine.isStarted()) {
|
||||
if(prodLine == null) {
|
||||
this.sendError(new Exception("Impossibile leggere lo stato della linea"));
|
||||
|
||||
} else if (!prodLine.isStarted()) {
|
||||
this.sendError(new Exception("Impossibile avviare una produzione su una linea ferma!"));
|
||||
|
||||
} else if (UtilityString.isNullOrEmpty(prodLine.getListaOrd())) {
|
||||
this.startProduction(codMart, partitaMag);
|
||||
|
||||
} else {
|
||||
this.mListener.confirmOrderClose(() -> {
|
||||
this.startProduction(codMart, partitaMag);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user