diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml index 514d91c4..ff0b9f9a 100644 --- a/.idea/deploymentTargetDropDown.xml +++ b/.idea/deploymentTargetDropDown.xml @@ -1,18 +1,18 @@ - + - + - - + + - - + + diff --git a/app/src/main/res/layout/dialog_input_quantity_v2.xml b/app/src/main/res/layout/dialog_input_quantity_v2.xml index 312fb1f0..40ef5b7f 100644 --- a/app/src/main/res/layout/dialog_input_quantity_v2.xml +++ b/app/src/main/res/layout/dialog_input_quantity_v2.xml @@ -27,792 +27,787 @@ type="it.integry.integrywmsnative.view.dialogs.input_quantity_v2.DialogInputQuantityV2View" /> - + android:layout_height="match_parent"> - - + android:layout_height="match_parent" + android:background="@color/full_white" + android:orientation="vertical"> - - - - - - - + android:background="?attr/colorPrimary" + android:minHeight="?attr/actionBarSize" + app:titleTextColor="@android:color/white"> - - - - - - - - - - - - - - - + + + + + + android:orientation="vertical"> - - - - + android:layout_marginTop="8dp"> + android:layout_alignParentStart="true" + android:layout_toStartOf="@id/unt_mis" + android:ellipsize="end" + android:text="@{viewmodel.mtbAart.codMart}" + android:textColor="@color/colorPrimary" + tools:text="COD MART (Partita mag)" /> - - - - - - - + android:textColor="@color/colorPrimary" + android:visibility="@{viewmodel.mtbAart.untMis != null ? View.VISIBLE : View.GONE}" + tools:text="UM" /> + + + + + + + + + + + + + + android:orientation="horizontal"> + + + + - + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + android:weightSum="1"> - - - + android:layout_gravity="center" + android:layout_marginEnd="2dp" + android:layout_weight="0.5" + android:background="@drawable/badge_round_corner" + android:backgroundTint="@color/green_600" + android:orientation="vertical" + android:padding="8dp" + android:visibility="@{viewmodel.totalNumCnfToBeTaken != null || viewmodel.totalQtaToBeTaken != null ? View.VISIBLE : View.GONE}"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + android:layout_weight="0.5" + android:background="@drawable/badge_round_corner" + android:backgroundTint="@color/colorPrimary" + android:orientation="vertical" + android:padding="8dp" + android:visibility="@{viewmodel.totalNumCnfAvailable != null || viewmodel.totalQtaAvailable != null ? View.VISIBLE : View.GONE}"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + android:layout_marginTop="8dp" + android:orientation="horizontal" + android:weightSum="2"> - - + android:layout_weight="@{viewmodel.shouldAskDataScad || viewmodel.shouldShowDataScad ? 1f : 2f}" + android:enabled="@{view.enabledChangePartitaMag}" + android:paddingEnd="4dp" + android:visibility="@{viewmodel.canPartitaMagBeChanged() || viewmodel.partitaMag != null ? View.VISIBLE : View.GONE}" + tools:layout_weight="1"> - + + + + + android:layout_weight="1" + android:enabled="@{view.enabledChangePartitaMag}" + android:visibility="@{viewmodel.shouldAskDataScad || viewmodel.shouldShowDataScad ? View.VISIBLE : View.GONE}"> - + android:focusableInTouchMode="false" + android:hint="@string/expire_date" + android:inputType="text" + app:binding="@{view.currentDataScad}" + app:parentView="@{view}" + app:warningOnOldDates="@{true}" /> - - - - - - - - - - - - - - - - - - + + android:layout_marginTop="8dp" + android:orientation="horizontal" + android:weightSum="3"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:paddingEnd="4dp" + tools:layout_weight="1"> - + + - - - - - - - + + + + + + + tools:layout_weight="1"> - + - - - - - - - - - - - + - + - - - + android:layout_marginTop="8dp" + android:orientation="horizontal" + android:visibility="@{viewmodel.mtbAart.isFlagQtaCnfFissaBoolean() ? View.GONE : View.VISIBLE}" + android:weightSum="3"> - + android:focusableInTouchMode="false" + android:paddingEnd="4dp" + tools:layout_weight="1"> - + - + - + + + + + + + tools:enabled="false" + tools:layout_weight="1"> - + - + + + + + + android:layout_marginTop="8dp" + android:orientation="horizontal"> - + android:enabled="@{view.enabledNotes}" + android:visibility="@{view.enabledNotes ? View.VISIBLE : View.GONE }"> - + + + - + - - - + android:layout_margin="16dp" + android:gravity="center_horizontal" + android:orientation="horizontal" + android:weightSum="1"> - + android:layout_marginStart="0dp" + android:layout_marginEnd="4dp" + android:layout_weight="0.4" + android:onClick="@{() -> view.saveAndCloseLU()}" + android:text="@string/action_close_ul" + app:strokeColor="@color/colorPrimary" + app:visibility="@{view.enabledLUCloseButton}" /> - + + + + + + + - - - - - - - - - - - - - - - + \ No newline at end of file