feat issues refs #7636

This commit is contained in:
Sergio De la torre 2024-08-14 06:59:05 +02:00
parent bb44fbd56a
commit e47c6da01e
4 changed files with 9 additions and 4 deletions

View File

@ -1997,7 +1997,7 @@ class CollectionFragmentPicker(
) {
getString(R.string.Todosloscampossonobligatorios).toast(requireContext())
} else {
try {
viewModel.collectionAddItem(
itemFk = customDialogList.getValue().toInt(),
ticketFk = ticketSelected,
@ -2005,6 +2005,11 @@ class CollectionFragmentPicker(
)
scanRequest()
customDialogList.dismiss()
}catch (_:Exception){
ma.messageWithSound(getString(R.string.errorInput), isError = true, isPlayed = true, isToasted = true)
}
}
}
hideKeyboards()

View File

@ -136,7 +136,7 @@ class InitPreSacadorFragment(
print()
}
} catch (ex: Exception) {
getString(R.string.errorInput)
getString(R.string.errorInput).toast(requireContext())
}
customDialogInput.setValue("")

View File

@ -202,7 +202,7 @@ class SacadorFragment(
}
}
} catch (ex: Exception) {
getString(R.string.errorInput)
getString(R.string.errorInput).toast(requireContext())
}
customDialogInput.setValue("")
}

View File

@ -193,7 +193,7 @@ class SacadorFragmentNew(
}
} catch (ex: Exception) {
getString(R.string.errorInput)
getString(R.string.errorInput).toast(requireContext())
}
customDialogInput.setValue("")