feat ticketQr #refs 6602
This commit is contained in:
parent
1f81ac53cb
commit
8275340f0e
|
@ -332,9 +332,13 @@ class CollectionFragment(
|
||||||
|
|
||||||
customDialogList.getEditText().setOnEditorActionListener { v, actionId, event ->
|
customDialogList.getEditText().setOnEditorActionListener { v, actionId, event ->
|
||||||
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5 || actionId == 6) {
|
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5 || actionId == 6) {
|
||||||
if (!customDialogList.getValue().isEmpty()) {
|
if (customDialogList.getValue().isNotEmpty()) {
|
||||||
ma.hideKeyboard(customDialogList.getEditText())
|
ma.hideKeyboard(customDialogList.getEditText())
|
||||||
var saleGroupScanned = customDialogList.getValue()
|
val saleGroupScanned = itemScanValue(
|
||||||
|
customDialogList.getValue(),
|
||||||
|
arrayOf("saleGroup"),
|
||||||
|
"id"
|
||||||
|
).toString()
|
||||||
isScanned =
|
isScanned =
|
||||||
event != null && event.action == ACTION_DOWN && event.keyCode == KeyEvent.KEYCODE_ENTER
|
event != null && event.action == ACTION_DOWN && event.keyCode == KeyEvent.KEYCODE_ENTER
|
||||||
markPrevia(saleGroupScanned)
|
markPrevia(saleGroupScanned)
|
||||||
|
|
Loading…
Reference in New Issue