feat issues refs #7636
This commit is contained in:
parent
bb44fbd56a
commit
e47c6da01e
|
@ -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()
|
||||
|
|
|
@ -136,7 +136,7 @@ class InitPreSacadorFragment(
|
|||
print()
|
||||
}
|
||||
} catch (ex: Exception) {
|
||||
getString(R.string.errorInput)
|
||||
getString(R.string.errorInput).toast(requireContext())
|
||||
}
|
||||
customDialogInput.setValue("")
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@ class SacadorFragment(
|
|||
}
|
||||
}
|
||||
} catch (ex: Exception) {
|
||||
getString(R.string.errorInput)
|
||||
getString(R.string.errorInput).toast(requireContext())
|
||||
}
|
||||
customDialogInput.setValue("")
|
||||
}
|
||||
|
|
|
@ -193,7 +193,7 @@ class SacadorFragmentNew(
|
|||
}
|
||||
|
||||
} catch (ex: Exception) {
|
||||
getString(R.string.errorInput)
|
||||
getString(R.string.errorInput).toast(requireContext())
|
||||
}
|
||||
customDialogInput.setValue("")
|
||||
|
||||
|
|
Loading…
Reference in New Issue