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())
|
getString(R.string.Todosloscampossonobligatorios).toast(requireContext())
|
||||||
} else {
|
} else {
|
||||||
|
try {
|
||||||
viewModel.collectionAddItem(
|
viewModel.collectionAddItem(
|
||||||
itemFk = customDialogList.getValue().toInt(),
|
itemFk = customDialogList.getValue().toInt(),
|
||||||
ticketFk = ticketSelected,
|
ticketFk = ticketSelected,
|
||||||
|
@ -2005,6 +2005,11 @@ class CollectionFragmentPicker(
|
||||||
)
|
)
|
||||||
scanRequest()
|
scanRequest()
|
||||||
customDialogList.dismiss()
|
customDialogList.dismiss()
|
||||||
|
}catch (_:Exception){
|
||||||
|
ma.messageWithSound(getString(R.string.errorInput), isError = true, isPlayed = true, isToasted = true)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
hideKeyboards()
|
hideKeyboards()
|
||||||
|
|
|
@ -136,7 +136,7 @@ class InitPreSacadorFragment(
|
||||||
print()
|
print()
|
||||||
}
|
}
|
||||||
} catch (ex: Exception) {
|
} catch (ex: Exception) {
|
||||||
getString(R.string.errorInput)
|
getString(R.string.errorInput).toast(requireContext())
|
||||||
}
|
}
|
||||||
customDialogInput.setValue("")
|
customDialogInput.setValue("")
|
||||||
|
|
||||||
|
|
|
@ -202,7 +202,7 @@ class SacadorFragment(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (ex: Exception) {
|
} catch (ex: Exception) {
|
||||||
getString(R.string.errorInput)
|
getString(R.string.errorInput).toast(requireContext())
|
||||||
}
|
}
|
||||||
customDialogInput.setValue("")
|
customDialogInput.setValue("")
|
||||||
}
|
}
|
||||||
|
|
|
@ -193,7 +193,7 @@ class SacadorFragmentNew(
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (ex: Exception) {
|
} catch (ex: Exception) {
|
||||||
getString(R.string.errorInput)
|
getString(R.string.errorInput).toast(requireContext())
|
||||||
}
|
}
|
||||||
customDialogInput.setValue("")
|
customDialogInput.setValue("")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue