Version 23.8Beta Añadido try catch para que no se cierre al leer texto en pantalla Controlador
This commit is contained in:
parent
d92ff2ca32
commit
0deda2f72e
|
@ -83,10 +83,12 @@
|
||||||
</select>
|
</select>
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="fa688d1c-dbee-4864-9e33-4d84ef9afca8" name="Default Changelist" comment="Version 23.8Beta Modificado para app reparto">
|
<list default="true" id="fa688d1c-dbee-4864-9e33-4d84ef9afca8" name="Default Changelist" comment="Version 23.8Beta Modificado para app reparto para que abre versión si es beta o no">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/app/build.gradle" beforeDir="false" afterPath="$PROJECT_DIR$/app/build.gradle" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/collection/fragment/CollectionFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/collection/fragment/CollectionFragment.kt" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/delivery/fragments/LogExpeditionFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/delivery/fragments/LogExpeditionFragment.kt" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragment.kt" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/UbicadorFragment.kt" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/app/src/main/res/values-es/strings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/values-es/strings.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/app/src/main/res/values/strings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/res/values/strings.xml" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
@ -183,7 +185,7 @@
|
||||||
</option>
|
</option>
|
||||||
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
||||||
<map>
|
<map>
|
||||||
<entry key="$PROJECT_DIR$" value="testBeta" />
|
<entry key="$PROJECT_DIR$" value="testBeta_5336" />
|
||||||
</map>
|
</map>
|
||||||
</option>
|
</option>
|
||||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||||
|
@ -229,28 +231,28 @@
|
||||||
<option name="showLibraryContents" value="true" />
|
<option name="showLibraryContents" value="true" />
|
||||||
<option name="showMembers" value="true" />
|
<option name="showMembers" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent"><![CDATA[{
|
<component name="PropertiesComponent">{
|
||||||
"keyToString": {
|
"keyToString": {
|
||||||
"ApkExportedModule": "Gestor_Almacén.app",
|
"ApkExportedModule": "Gestor_Almacén.app",
|
||||||
"ExportApk.ApkPathForGestor_Almacén.app": "C:\\Users\\sergiodt\\AndroidStudioProjects\\vn-warehouseManager\\app",
|
"ExportApk.ApkPathForGestor_Almacén.app": "C:\\Users\\sergiodt\\AndroidStudioProjects\\vn-warehouseManager\\app",
|
||||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
"RunOnceActivity.cidr.known.project.marker": "true",
|
"RunOnceActivity.cidr.known.project.marker": "true",
|
||||||
"cidr.known.project.marker": "true",
|
"cidr.known.project.marker": "true",
|
||||||
"com.google.services.firebase.aqiPopupShown": "true",
|
"com.google.services.firebase.aqiPopupShown": "true",
|
||||||
"last_opened_file_path": "C:/Users/sergiodt/proyectos/Rocket.Chat.ReactNative/android/app",
|
"last_opened_file_path": "C:/Users/sergiodt/proyectos/Rocket.Chat.ReactNative/android/app",
|
||||||
"project.structure.last.edited": "Modules",
|
"project.structure.last.edited": "Modules",
|
||||||
"project.structure.proportion": "0.17",
|
"project.structure.proportion": "0.17",
|
||||||
"project.structure.side.proportion": "0.2",
|
"project.structure.side.proportion": "0.2",
|
||||||
"run.code.analysis.last.selected.profile": "pProject Default",
|
"run.code.analysis.last.selected.profile": "pProject Default",
|
||||||
"settings.editor.selected.configurable": "reference.settingsdialog.project.gradle"
|
"settings.editor.selected.configurable": "reference.settingsdialog.project.gradle"
|
||||||
},
|
},
|
||||||
"keyToStringList": {
|
"keyToStringList": {
|
||||||
"ExportApk.BuildVariants": [
|
"ExportApk.BuildVariants": [
|
||||||
"generalRelease"
|
"generalRelease"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}]]></component>
|
}</component>
|
||||||
<component name="PsdUISettings">
|
<component name="PsdUISettings">
|
||||||
<option name="MODULE_TAB" value="Default Config" />
|
<option name="MODULE_TAB" value="Default Config" />
|
||||||
<option name="LAST_EDITED_SIGNING_CONFIG" value="debug" />
|
<option name="LAST_EDITED_SIGNING_CONFIG" value="debug" />
|
||||||
|
|
|
@ -461,8 +461,10 @@ class CollectionFragment(
|
||||||
it.errorMessage,
|
it.errorMessage,
|
||||||
it.isError, true
|
it.isError, true
|
||||||
)
|
)
|
||||||
}else{
|
} else {
|
||||||
(getString(R.string.Imprimiendo) + getData(PRINTERNAME)).toast(requireContext())
|
(getString(R.string.Imprimiendo) + getData(PRINTERNAME)).toast(
|
||||||
|
requireContext()
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1265,12 +1267,22 @@ class CollectionFragment(
|
||||||
storedBackPosition = 0
|
storedBackPosition = 0
|
||||||
// if (type != PRECHECKER) {
|
// if (type != PRECHECKER) {
|
||||||
isMarking = false
|
isMarking = false
|
||||||
viewModel.collectionTicketGet(
|
try {
|
||||||
txtscan.toInt(),
|
viewModel.collectionTicketGet(
|
||||||
getDataInt(SECTORFK),
|
txtscan.toInt(),
|
||||||
print = "0",
|
getDataInt(SECTORFK),
|
||||||
type
|
print = "0",
|
||||||
)
|
type
|
||||||
|
)
|
||||||
|
|
||||||
|
} catch (ex: Exception) {
|
||||||
|
binding.splashProgress.visibility = GONE
|
||||||
|
ma.messageWithSound(
|
||||||
|
getString(R.string.error),
|
||||||
|
isError = false,
|
||||||
|
isPlayed = false
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
if (type.equals(CONTROLADOR)) {
|
if (type.equals(CONTROLADOR)) {
|
||||||
//Tarea #4280 cambiar a ticket_isOutClosureZone
|
//Tarea #4280 cambiar a ticket_isOutClosureZone
|
||||||
|
|
|
@ -214,6 +214,9 @@ class UbicadorFragment(
|
||||||
if (!binding.editMatricula.text.toString().isNullOrEmpty()) {
|
if (!binding.editMatricula.text.toString().isNullOrEmpty()) {
|
||||||
|
|
||||||
|
|
||||||
|
/*Tarea 5336 si aprueban cambiar
|
||||||
|
if (!modeCheckUbication || (modeCheckUbication && binding.editMatricula.text.toString().length == 3 && !binding.editMatricula.text!![0].isDigit())) {*/
|
||||||
|
|
||||||
if (!modeCheckUbication) {
|
if (!modeCheckUbication) {
|
||||||
binding.mainToolbar.toolbarTitle.text =
|
binding.mainToolbar.toolbarTitle.text =
|
||||||
binding.editMatricula.text.toString()
|
binding.editMatricula.text.toString()
|
||||||
|
|
|
@ -541,5 +541,6 @@
|
||||||
<string name="expeditionMarkLost">Si activa este botón marca la expedición como Perdida</string>
|
<string name="expeditionMarkLost">Si activa este botón marca la expedición como Perdida</string>
|
||||||
<string name="expeditionMarkFound">Si activa este botón marca la expedición como Encontrada</string>
|
<string name="expeditionMarkFound">Si activa este botón marca la expedición como Encontrada</string>
|
||||||
<string name="freelance">Porteador</string>
|
<string name="freelance">Porteador</string>
|
||||||
|
<string name="errorScanned">Texto escaneado no válido</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -189,6 +189,7 @@
|
||||||
<string name="smarttags">SmartTags</string>
|
<string name="smarttags">SmartTags</string>
|
||||||
<string name="userVehicleControl">User control vehicle</string>
|
<string name="userVehicleControl">User control vehicle</string>
|
||||||
<string name="error">Error</string>
|
<string name="error">Error</string>
|
||||||
|
<string name="errorScanned">Scanned text no valid</string>
|
||||||
<string name="sectors">Sectors</string>
|
<string name="sectors">Sectors</string>
|
||||||
<string name="printers">Printers</string>
|
<string name="printers">Printers</string>
|
||||||
<string name="androidid">Android_id</string>
|
<string name="androidid">Android_id</string>
|
||||||
|
|
Loading…
Reference in New Issue