Aggiunto diacod in Contenuto UL
This commit is contained in:
parent
174f7ebbdc
commit
0baee207ee
@ -47,7 +47,7 @@ public class PickingObjectDTO implements Parcelable {
|
|||||||
private Boolean tempHidden = null;
|
private Boolean tempHidden = null;
|
||||||
private PickData tempPickData = null;
|
private PickData tempPickData = null;
|
||||||
|
|
||||||
private List<MtbColr> withdrawRows = new ArrayList<>();
|
private ArrayList<MtbColr> withdrawRows = new ArrayList<>();
|
||||||
|
|
||||||
protected PickingObjectDTO(Parcel in) {
|
protected PickingObjectDTO(Parcel in) {
|
||||||
if (in.readByte() == 0) {
|
if (in.readByte() == 0) {
|
||||||
@ -423,11 +423,12 @@ public class PickingObjectDTO implements Parcelable {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<MtbColr> getWithdrawRows() {
|
public ArrayList<MtbColr> getWithdrawRows() {
|
||||||
|
if(withdrawRows == null) withdrawRows = new ArrayList<>();
|
||||||
return withdrawRows;
|
return withdrawRows;
|
||||||
}
|
}
|
||||||
|
|
||||||
public PickingObjectDTO setWithdrawRows(List<MtbColr> withdrawRows) {
|
public PickingObjectDTO setWithdrawRows(ArrayList<MtbColr> withdrawRows) {
|
||||||
this.withdrawRows = withdrawRows;
|
this.withdrawRows = withdrawRows;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -45,9 +45,9 @@ public class VenditaOrdineInevasoActivity extends AppCompatActivity {
|
|||||||
FragmentArticoliInColloBottomSheetBinding bindings = this.bindings.bottomSheetInclude;
|
FragmentArticoliInColloBottomSheetBinding bindings = this.bindings.bottomSheetInclude;
|
||||||
mArticoliInColloBottomSheetViewModel = new ArticoliInColloBottomSheetViewModel(this, bindings);
|
mArticoliInColloBottomSheetViewModel = new ArticoliInColloBottomSheetViewModel(this, bindings);
|
||||||
|
|
||||||
List<PickingObjectDTO> pickingList = DataCache.retrieveItem(getIntent().getStringExtra("keyPickingList"));
|
ArrayList<PickingObjectDTO> pickingList = DataCache.retrieveItem(getIntent().getStringExtra("keyPickingList"));
|
||||||
List<OrdineVenditaGroupedInevasoDTO> testateOrdini = DataCache.retrieveItem(getIntent().getStringExtra("keyTestateOrdini"));
|
ArrayList<OrdineVenditaGroupedInevasoDTO> testateOrdini = DataCache.retrieveItem(getIntent().getStringExtra("keyTestateOrdini"));
|
||||||
List<MtbColt> colliRegistrati = DataCache.retrieveItem(getIntent().getStringExtra("keyColliRegistrati"));
|
ArrayList<MtbColt> colliRegistrati = DataCache.retrieveItem(getIntent().getStringExtra("keyColliRegistrati"));
|
||||||
mVenditaOrdineInevasoViewModel = new VenditaOrdineInevasoViewModel(
|
mVenditaOrdineInevasoViewModel = new VenditaOrdineInevasoViewModel(
|
||||||
this, mArticoliInColloBottomSheetViewModel, pickingList, testateOrdini, colliRegistrati);
|
this, mArticoliInColloBottomSheetViewModel, pickingList, testateOrdini, colliRegistrati);
|
||||||
|
|
||||||
|
|||||||
@ -37,6 +37,18 @@
|
|||||||
tools:text="COD MART" />
|
tools:text="COD MART" />
|
||||||
|
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:text='@{!UtilityString.isNullOrEmpty(mtbColr.mtbAart.diacod) ? mtbColr.mtbAart.diacod : ""}'
|
||||||
|
android:textColor="@color/red_600"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:visibility="@{UtilityString.isNullOrEmpty(mtbColr.mtbAart.diacod) ? View.GONE : View.VISIBLE}"
|
||||||
|
tools:text="DIACOD HERE"/>
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user