Controllo su chiusura UL in Rettifica.
Return dell'errore nel caso non venga riconosciuto automaticamente.
This commit is contained in:
parent
7c394d3d78
commit
08431d3e44
@ -26,9 +26,9 @@ public class CommonRESTException {
|
||||
} else if(ex instanceof SocketTimeoutException){
|
||||
return "Errore di timeout durante la comunicazione con il server remoto. Riprova.";
|
||||
} else if(ex.getMessage().startsWith("Printer not found")){
|
||||
return "Stampante non configurata";
|
||||
return "Stampante non trovata";
|
||||
} else {
|
||||
return null;
|
||||
return ex.getMessage();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -426,6 +426,8 @@ public class RettificaGiacenzeViewModel implements IRecyclerItemClicked<MtbColr>
|
||||
|
||||
public void closeLU(boolean openNewOne) {
|
||||
|
||||
if(thereIsAnyRowInUL()) {
|
||||
|
||||
final ProgressDialog progress = ProgressDialog.show(mContext, mContext.getText(R.string.waiting),
|
||||
mContext.getText(R.string.loading) + " ...", true);
|
||||
|
||||
@ -459,6 +461,7 @@ public class RettificaGiacenzeViewModel implements IRecyclerItemClicked<MtbColr>
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void saveCausaleRettificaGiacenze(ProgressDialog progress, Runnable onComplete) {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user