Fix su creazione nuova UDS nel caso in cui non è presente la data cons
This commit is contained in:
parent
72ebf8f135
commit
9b1a00d09c
@ -1193,7 +1193,7 @@ public class SpedizioneViewModel {
|
||||
public void createNewLU(Integer customNumCollo, String customSerCollo, Runnable onComplete) {
|
||||
final List<CreateUDSRequestOrderDTO> orders = Stream.of(this.mTestateOrdini)
|
||||
.map(x -> new CreateUDSRequestOrderDTO()
|
||||
.setDataCons(UtilityDate.toLocalDate(x.getDataConsD()))
|
||||
.setDataCons(x.getDataConsD() != null ? UtilityDate.toLocalDate(x.getDataConsD()) : null)
|
||||
.setDataOrd(UtilityDate.toLocalDate(x.getDataOrdD()))
|
||||
.setGestione(x.getGestione())
|
||||
.setNumOrd(x.getNumOrd()))
|
||||
|
||||
@ -77,7 +77,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="Cod Jcom"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_below="@id/right_descrizione"
|
||||
android:layout_below="@id/descrizione"
|
||||
style="@style/AppTheme.NewMaterial.Text.Small" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
@ -89,7 +89,7 @@
|
||||
android:paddingEnd="6dp"
|
||||
tools:text="TextView"
|
||||
style="@style/AppTheme.NewMaterial.Text.Small"
|
||||
android:layout_below="@+id/right_descrizione"
|
||||
android:layout_below="@+id/descrizione"
|
||||
android:layout_toStartOf="@id/right_sub_descrizione"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user