-> v1.8.3(90)
This commit is contained in:
parent
774808a4c4
commit
57c9395398
@ -17,8 +17,8 @@ apply plugin: 'com.google.gms.google-services'
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
||||||
def appVersionCode = 89
|
def appVersionCode = 90
|
||||||
def appVersionName = '1.8.2'
|
def appVersionName = '1.8.3'
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
|
|||||||
@ -953,32 +953,32 @@ public class AccettazioneOrdineAccettazioneInevasoViewModel implements IOnColloC
|
|||||||
|
|
||||||
private void onRowDeleted(MtbColr deletedValue) {
|
private void onRowDeleted(MtbColr deletedValue) {
|
||||||
|
|
||||||
if(getColloRef() != null) {
|
// if(getColloRef() != null) {
|
||||||
|
|
||||||
Dialog progress = UtilityProgress.createDefaultProgressDialog(mActivity);
|
// Dialog progress = UtilityProgress.createDefaultProgressDialog(mActivity);
|
||||||
|
|
||||||
MtbColr mtbColrToDeleteOfAccettazione = Stream.of(getColloRef().getMtbColr())
|
// MtbColr mtbColrToDeleteOfAccettazione = Stream.of(getColloRef().getMtbColr())
|
||||||
.filter(x -> x.getQtaCol().compareTo(deletedValue.getQtaCol()) == 0 &&
|
// .filter(x -> x.getQtaCol().compareTo(deletedValue.getQtaCol()) == 0 &&
|
||||||
x.getCodMart().equalsIgnoreCase(deletedValue.getCodMart()) &&
|
// x.getCodMart().equalsIgnoreCase(deletedValue.getCodMart()) &&
|
||||||
x.getPartitaMag().equalsIgnoreCase(deletedValue.getPartitaMag()) &&
|
// x.getPartitaMag().equalsIgnoreCase(deletedValue.getPartitaMag()) &&
|
||||||
x.getCodJcom().equalsIgnoreCase(deletedValue.getCodJcom()))
|
// x.getCodJcom().equalsIgnoreCase(deletedValue.getCodJcom()))
|
||||||
.findFirst()
|
// .findFirst()
|
||||||
.get();
|
// .get();
|
||||||
|
|
||||||
ColliMagazzinoRESTConsumer.deleteRiga(mtbColrToDeleteOfAccettazione, () -> {
|
// ColliMagazzinoRESTConsumer.deleteRiga(mtbColrToDeleteOfAccettazione, () -> {
|
||||||
getColloRef().getMtbColr().remove(mtbColrToDeleteOfAccettazione);
|
// getColloRef().getMtbColr().remove(mtbColrToDeleteOfAccettazione);
|
||||||
|
//
|
||||||
|
// progress.dismiss();
|
||||||
|
// this.refreshOrderBy(false);
|
||||||
|
// }, ex -> {
|
||||||
|
// UtilityExceptions.defaultException(mActivity, ex, progress);
|
||||||
|
// this.refreshOrderBy(false);
|
||||||
|
// });
|
||||||
|
|
||||||
progress.dismiss();
|
// } else {
|
||||||
this.refreshOrderBy(false);
|
|
||||||
}, ex -> {
|
|
||||||
UtilityExceptions.defaultException(mActivity, ex, progress);
|
|
||||||
this.refreshOrderBy(false);
|
|
||||||
});
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
this.refreshOrderBy(false);
|
this.refreshOrderBy(false);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user