Error codigo barras largo

This commit is contained in:
Sergio De la torre 2023-06-16 16:34:41 +02:00
parent 1b52f820ca
commit 4a8b243ae1
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ class ItemCardFragment(
private fun getItemCard(itemFk: String) { private fun getItemCard(itemFk: String) {
warehouseFk = getDataInt(WAREHOUSEFK) warehouseFk = getDataInt(WAREHOUSEFK)
binding.splashProgressTwo.visibility = View.VISIBLE binding.splashProgressTwo.visibility = View.VISIBLE
viewModel.getItemCard(itemFk.toInt(), warehouseFk!!) viewModel.getItemCard(itemFk.toLong(), warehouseFk!!)
this.itemFk = itemFk this.itemFk = itemFk
} }

View File

@ -45,7 +45,7 @@ class ItemCardViewModel(var context: Context) : BaseViewModel(context) {
fun getItemCard( fun getItemCard(
itemFk: Int, itemFk: Number,
warehouseFk: Int, warehouseFk: Int,
) { ) {