feat: refs #7763 rename
This commit is contained in:
parent
c42061a8d1
commit
f79292d4e2
|
@ -195,8 +195,8 @@ class UbicadorViewModel(val context: Context) : BaseViewModel(context) {
|
||||||
) {
|
) {
|
||||||
salix.getInfoFromBuyId(
|
salix.getInfoFromBuyId(
|
||||||
id = buyFk,
|
id = buyFk,
|
||||||
).enqueue(object : SalixCallback<ItemBuy?>(context) {
|
).enqueue(object : SalixCallback<ItemBuy>(context) {
|
||||||
override fun onSuccess(response: Response<ItemBuy?>) {
|
override fun onSuccess(response: Response<ItemBuy>) {
|
||||||
itemShelvingUpdateFromBuy(itemShelvingFk, response.body().let { it as ItemBuy })
|
itemShelvingUpdateFromBuy(itemShelvingFk, response.body().let { it as ItemBuy })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -287,7 +287,7 @@ class UbicadorViewModel(val context: Context) : BaseViewModel(context) {
|
||||||
) {
|
) {
|
||||||
salix.itemShelvingsUpdate(
|
salix.itemShelvingsUpdate(
|
||||||
where = JsonObject().apply { addProperty("id", itemShelvingFk) },
|
where = JsonObject().apply { addProperty("id", itemShelvingFk) },
|
||||||
JsonObject().apply {
|
params = JsonObject().apply {
|
||||||
addProperty("itemFk", itemBuy.itemFk)
|
addProperty("itemFk", itemBuy.itemFk)
|
||||||
addProperty("buyFk", itemBuy.id)
|
addProperty("buyFk", itemBuy.id)
|
||||||
addProperty("grouping", itemBuy.grouping)
|
addProperty("grouping", itemBuy.grouping)
|
||||||
|
|
Loading…
Reference in New Issue