feat: refs #7920 itemShelvingGet
This commit is contained in:
parent
25cec0a709
commit
b6ad9a9122
|
@ -6,6 +6,7 @@ import androidx.recyclerview.widget.LinearLayoutManager
|
||||||
import com.google.gson.Gson
|
import com.google.gson.Gson
|
||||||
import es.verdnatura.R
|
import es.verdnatura.R
|
||||||
import es.verdnatura.databinding.FragmentShelvinglogBinding
|
import es.verdnatura.databinding.FragmentShelvinglogBinding
|
||||||
|
import es.verdnatura.domain.ConstAndValues.TOKENMULTIMEDIA
|
||||||
import es.verdnatura.domain.notNull
|
import es.verdnatura.domain.notNull
|
||||||
import es.verdnatura.presentation.base.BaseFragment
|
import es.verdnatura.presentation.base.BaseFragment
|
||||||
import es.verdnatura.presentation.common.itemScanValue
|
import es.verdnatura.presentation.common.itemScanValue
|
||||||
|
@ -177,7 +178,14 @@ class ShelvingLogFragment(
|
||||||
Gson().toJson(
|
Gson().toJson(
|
||||||
mutableMapOf(
|
mutableMapOf(
|
||||||
"entryPoint" to param,
|
"entryPoint" to param,
|
||||||
"web" to "https://grafana.verdnatura.es/d/ce4b8ymvex4owa?${if (isitemFkScanned) "var-itemFk=$param" else "var-shelvingCode=$itemScan"}"
|
"web" to "https://grafana.verdnatura.es/d/ce4b8ymvex4owa?${
|
||||||
|
if (isitemFkScanned) "var-itemFk=$param&var-vnToken=${
|
||||||
|
mobileApplication.dataStoreApp.readDataStoreKey<String>(
|
||||||
|
TOKENMULTIMEDIA
|
||||||
|
)
|
||||||
|
}"
|
||||||
|
else "var-shelvingCode=$itemScan"
|
||||||
|
}"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue