Finish v1_7_7(84)
This commit is contained in:
commit
e9c1371873
BIN
.idea/caches/build_file_checksums.ser
generated
BIN
.idea/caches/build_file_checksums.ser
generated
Binary file not shown.
@ -17,8 +17,8 @@ apply plugin: 'com.google.gms.google-services'
|
||||
|
||||
android {
|
||||
|
||||
def appVersionCode = 83
|
||||
def appVersionName = '1.7.6'
|
||||
def appVersionCode = 84
|
||||
def appVersionName = '1.7.7'
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
|
||||
@ -57,7 +57,6 @@ public class ProdRecuperoMaterialeHelper {
|
||||
"LEFT OUTER JOIN jtb_fasi ON mtb_colt.cod_jfas = jtb_fasi.cod_jfas " +
|
||||
"WHERE jtb_fasi.cod_jfas IS NOT NULL " +
|
||||
"AND segno = -1 " +
|
||||
"AND qta_col > 0 " +
|
||||
"GROUP BY jtb_fasi.cod_jfas, " +
|
||||
"jtb_fasi.descrizione, " +
|
||||
"mtb_colr.gestione, " +
|
||||
@ -74,6 +73,7 @@ public class ProdRecuperoMaterialeHelper {
|
||||
"mtb_aart.descrizione, " +
|
||||
"mtb_aart.unt_mis, " +
|
||||
"mtb_colt.segno " +
|
||||
"HAVING SUM(mtb_colr.qta_col) > 0 " +
|
||||
"ORDER BY data_collo DESC";
|
||||
|
||||
Type typeOfObjectsList = new TypeToken<ArrayList<HistoryVersamentoProdUL>>() {}.getType();
|
||||
|
||||
@ -72,43 +72,6 @@ public class ProdRecuperoMaterialeViewModel {
|
||||
refreshAdapter();
|
||||
}
|
||||
|
||||
public void openLU() {
|
||||
DialogScanOrCreateLU.make(mContext, true, false, true, mtbColt -> {
|
||||
if(mtbColt == null) {
|
||||
((IPoppableActivity)mContext).pop();
|
||||
} else if((mtbColt.getGestioneEnum() == GestioneEnum.LAVORAZIONE) && mtbColt.getSegno().equals(-1)){
|
||||
|
||||
if (!UtilityString.isNullOrEmpty(mtbColt.getPosizione()) && UtilityPosizione.isLineaProduzione(mtbColt.getPosizione())) {
|
||||
|
||||
if(mtbColt.getMtbColr() == null || mtbColt.getMtbColr().size() == 0) {
|
||||
DialogSimpleMessageHelper.makeWarningDialog(mContext,
|
||||
new SpannableString(Html.fromHtml("E' stata scansionata una UL già vuota")),
|
||||
null, this::openLU).show();
|
||||
|
||||
} else {
|
||||
setMtbColt(mtbColt);
|
||||
// chooseQuantityToReturn();
|
||||
}
|
||||
|
||||
} else {
|
||||
DialogSimpleMessageHelper.makeWarningDialog(mContext,
|
||||
new SpannableString(Html.fromHtml("Sono accettate solamente UL di provenienti da una linea di lavoro")),
|
||||
null, this::openLU).show();
|
||||
}
|
||||
|
||||
} else {
|
||||
DialogSimpleMessageHelper.makeWarningDialog(mContext,
|
||||
new SpannableString(Html.fromHtml("Sono accettate solamente UL di <b>Lavorazione</b> di <b>SCARICO</b>")),
|
||||
null, this::openLU).show();
|
||||
}
|
||||
}).show();
|
||||
}
|
||||
|
||||
|
||||
private void chooseQuantityToReturn(MtbAart mtbAart, BigDecimal min, BigDecimal max) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMtbColt(MtbColt mtbColt) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user