aggiunto controllo sulla qta ordinata nulla per rettifica giacenze
This commit is contained in:
parent
f11a81ef05
commit
8a1b3a1b00
@ -378,9 +378,16 @@ public class DialogInputQuantityV2View extends BaseDialogFragment implements Dia
|
|||||||
this.enabledLUCloseButton.set(this.mDialogInputQuantityV2DTO.isCanLUBeClosed());
|
this.enabledLUCloseButton.set(this.mDialogInputQuantityV2DTO.isCanLUBeClosed());
|
||||||
this.currentTaraArticolo.set(this.mViewModel.getMtbAart().getTaraKg());
|
this.currentTaraArticolo.set(this.mViewModel.getMtbAart().getTaraKg());
|
||||||
|
|
||||||
this.currentTextNumCnfToTake.set(this.mDialogInputQuantityV2DTO.getTotalNumCnfOrd().intValue());
|
if (this.mDialogInputQuantityV2DTO.getTotalNumCnfOrd() != null) {
|
||||||
int qtaText = this.mDialogInputQuantityV2DTO.getTotalQtaOrd().intValue() % this.mDialogInputQuantityV2DTO.getTotalNumCnfOrd().intValue();
|
this.currentTextNumCnfToTake.set(this.mDialogInputQuantityV2DTO.getTotalNumCnfOrd().intValue());
|
||||||
this.currentTextNumPezziToTake.set(qtaText);
|
int qtaText = this.mDialogInputQuantityV2DTO.getTotalQtaOrd().intValue() % this.mDialogInputQuantityV2DTO.getTotalNumCnfOrd().intValue();
|
||||||
|
this.currentTextNumPezziToTake.set(qtaText);
|
||||||
|
} else {
|
||||||
|
this.currentTextNumCnfToTake.set(0);
|
||||||
|
this.currentTextNumPezziToTake.set(0);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user