Finish v1_8_6(93)
This commit is contained in:
commit
61270adb6e
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 {
|
android {
|
||||||
|
|
||||||
def appVersionCode = 92
|
def appVersionCode = 93
|
||||||
def appVersionName = '1.8.5'
|
def appVersionName = '1.8.6'
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
|
|||||||
@ -34,6 +34,7 @@ import it.integry.integrywmsnative.core.model.MtbColt;
|
|||||||
import it.integry.integrywmsnative.core.model.secondary.GestioneEnum;
|
import it.integry.integrywmsnative.core.model.secondary.GestioneEnum;
|
||||||
import it.integry.integrywmsnative.core.settings.SettingsManager;
|
import it.integry.integrywmsnative.core.settings.SettingsManager;
|
||||||
import it.integry.integrywmsnative.core.utility.UtilityExceptions;
|
import it.integry.integrywmsnative.core.utility.UtilityExceptions;
|
||||||
|
import it.integry.integrywmsnative.core.utility.UtilityResources;
|
||||||
import it.integry.integrywmsnative.core.utility.UtilityString;
|
import it.integry.integrywmsnative.core.utility.UtilityString;
|
||||||
import it.integry.integrywmsnative.databinding.FragmentMainBinding;
|
import it.integry.integrywmsnative.databinding.FragmentMainBinding;
|
||||||
import it.integry.integrywmsnative.databinding.FragmentMainMenuGroupLayoutBinding;
|
import it.integry.integrywmsnative.databinding.FragmentMainMenuGroupLayoutBinding;
|
||||||
@ -80,6 +81,7 @@ public class MainFragment extends Fragment implements ITitledFragment, IScrollab
|
|||||||
|
|
||||||
init();
|
init();
|
||||||
initGestMenu();
|
initGestMenu();
|
||||||
|
initVersion();
|
||||||
|
|
||||||
return mBindings.getRoot();
|
return mBindings.getRoot();
|
||||||
}
|
}
|
||||||
@ -241,4 +243,9 @@ public class MainFragment extends Fragment implements ITitledFragment, IScrollab
|
|||||||
private void onMenuClick(MenuConfiguration.MenuItem menuItem) {
|
private void onMenuClick(MenuConfiguration.MenuItem menuItem) {
|
||||||
((MainActivity) getActivity()).setMenuItem(menuItem.getID());
|
((MainActivity) getActivity()).setMenuItem(menuItem.getID());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void initVersion() {
|
||||||
|
String appVersion = UtilityResources.getAppVersion();
|
||||||
|
mBindings.currentAppVersionName.setText("v" + appVersion);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -478,7 +478,7 @@ public class RettificaGiacenzeViewModel implements IRecyclerItemClicked<MtbColr>
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void openLU() {
|
public void openLU() {
|
||||||
DialogScanOrCreateLU.make(mContext, mtbColt -> {
|
DialogScanOrCreateLU.make(mContext, false, false, mtbColt -> {
|
||||||
if(mtbColt == null) {
|
if(mtbColt == null) {
|
||||||
((IPoppableActivity)mContext).pop();
|
((IPoppableActivity)mContext).pop();
|
||||||
} else {
|
} else {
|
||||||
@ -635,6 +635,7 @@ public class RettificaGiacenzeViewModel implements IRecyclerItemClicked<MtbColr>
|
|||||||
|
|
||||||
mtbColrToEditClone
|
mtbColrToEditClone
|
||||||
.setQtaCol(value.qtaTot.getBigDecimal())
|
.setQtaCol(value.qtaTot.getBigDecimal())
|
||||||
|
.setMtbAart(mtbColrToEdit.getMtbAart())
|
||||||
.setOperation(CommonModelConsts.OPERATION.NO_OP);
|
.setOperation(CommonModelConsts.OPERATION.NO_OP);
|
||||||
|
|
||||||
mtbColt.get().getMtbColr().add(index, mtbColrToEditClone);
|
mtbColt.get().getMtbColr().add(index, mtbColrToEditClone);
|
||||||
|
|||||||
@ -133,6 +133,10 @@ public class DialogVenditaFiltroAvanzato {
|
|||||||
private void initView(DialogVenditaFiltroAvanzatoBinding bindings, DialogVenditaFiltroAvanzatoViewModel viewModel) {
|
private void initView(DialogVenditaFiltroAvanzatoBinding bindings, DialogVenditaFiltroAvanzatoViewModel viewModel) {
|
||||||
IFiltroOrdiniVendita filtroOrdiniVendita = ClassRouter.getIstance(ClassRouter.PATH.FILTRO_ORDINI_VENDITA);
|
IFiltroOrdiniVendita filtroOrdiniVendita = ClassRouter.getIstance(ClassRouter.PATH.FILTRO_ORDINI_VENDITA);
|
||||||
|
|
||||||
|
// bindings.filledExposedDropdownDataCons.setOnFocusChangeListener((v, hasFocus) -> {
|
||||||
|
// bindings.filledExposedDropdownDataCons.callOnClick();
|
||||||
|
// });
|
||||||
|
|
||||||
bindings.filledExposedDropdownDataCons.setOnClickListener(view -> {
|
bindings.filledExposedDropdownDataCons.setOnClickListener(view -> {
|
||||||
Calendar c = UtilityDate.getCalendarInstance();
|
Calendar c = UtilityDate.getCalendarInstance();
|
||||||
|
|
||||||
|
|||||||
@ -47,6 +47,8 @@
|
|||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
|
android:nextFocusDown="@id/input_id_viaggio"
|
||||||
android:hint="@string/deposit">
|
android:hint="@string/deposit">
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatAutoCompleteTextView
|
<androidx.appcompat.widget.AppCompatAutoCompleteTextView
|
||||||
@ -55,6 +57,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
|
android:nextFocusDown="@id/input_id_viaggio"
|
||||||
app:binding="@{viewmodel.deposito}" />
|
app:binding="@{viewmodel.deposito}" />
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
@ -73,6 +77,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
|
android:nextFocusForward="@id/filled_exposed_dropdown_num_ords"
|
||||||
app:binding="@{viewmodel.idViaggio}" />
|
app:binding="@{viewmodel.idViaggio}" />
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
@ -93,6 +99,8 @@
|
|||||||
android:inputType="number|text"
|
android:inputType="number|text"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
|
android:nextFocusForward="@id/filled_exposed_dropdown_cliente"
|
||||||
app:binding="@{viewmodel.numOrds}"/>
|
app:binding="@{viewmodel.numOrds}"/>
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
@ -112,6 +120,8 @@
|
|||||||
android:inputType="textNoSuggestions"
|
android:inputType="textNoSuggestions"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
|
android:nextFocusForward="@id/filled_exposed_dropdown_vettore"
|
||||||
app:binding="@{viewmodel.cliente}"/>
|
app:binding="@{viewmodel.cliente}"/>
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
@ -131,6 +141,8 @@
|
|||||||
android:inputType="textNoSuggestions"
|
android:inputType="textNoSuggestions"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
|
android:nextFocusForward="@id/filled_exposed_dropdown_automezzo"
|
||||||
app:binding="@{viewmodel.vettore}"/>
|
app:binding="@{viewmodel.vettore}"/>
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
@ -150,6 +162,8 @@
|
|||||||
android:inputType="textNoSuggestions"
|
android:inputType="textNoSuggestions"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
|
android:nextFocusForward="@id/filled_exposed_dropdown_agente"
|
||||||
app:binding="@{viewmodel.automezzo}"/>
|
app:binding="@{viewmodel.automezzo}"/>
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
@ -169,6 +183,8 @@
|
|||||||
android:inputType="textNoSuggestions"
|
android:inputType="textNoSuggestions"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:imeOptions="actionNext"
|
||||||
|
android:nextFocusForward="@id/filled_exposed_dropdown_term_cons"
|
||||||
app:binding="@{viewmodel.agente}"/>
|
app:binding="@{viewmodel.agente}"/>
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
@ -182,13 +198,13 @@
|
|||||||
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/filled_exposed_dropdown_data_cons"
|
android:id="@+id/filled_exposed_dropdown_data_cons"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textNoSuggestions"
|
android:inputType="textNoSuggestions"
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
app:binding="@{viewmodel.dataConsegna}"/>
|
app:binding="@{viewmodel.dataConsegna}"/>
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
||||||
@ -201,12 +217,13 @@
|
|||||||
android:hint="@string/terms_of_delivery">
|
android:hint="@string/terms_of_delivery">
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatAutoCompleteTextView
|
<androidx.appcompat.widget.AppCompatAutoCompleteTextView
|
||||||
android:id="@+id/filled_exposed_dropdown_term_cons"
|
android:id="@+id/filled_exposed_dropdown_term_cons"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textNoSuggestions"
|
android:inputType="textNoSuggestions"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:imeOptions="actionDone"
|
||||||
app:binding="@{viewmodel.terminiConsegna}"/>
|
app:binding="@{viewmodel.terminiConsegna}"/>
|
||||||
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|||||||
@ -54,7 +54,6 @@
|
|||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/menu_container"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
@ -193,6 +192,22 @@
|
|||||||
</androidx.cardview.widget.CardView>
|
</androidx.cardview.widget.CardView>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/menu_container"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical">
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:id="@+id/current_app_version_name"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:textAlignment="center"
|
||||||
|
tools:text="v1.0.0" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</androidx.core.widget.NestedScrollView>
|
</androidx.core.widget.NestedScrollView>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user