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(
|
||||
id = buyFk,
|
||||
).enqueue(object : SalixCallback<ItemBuy?>(context) {
|
||||
override fun onSuccess(response: Response<ItemBuy?>) {
|
||||
).enqueue(object : SalixCallback<ItemBuy>(context) {
|
||||
override fun onSuccess(response: Response<ItemBuy>) {
|
||||
itemShelvingUpdateFromBuy(itemShelvingFk, response.body().let { it as ItemBuy })
|
||||
}
|
||||
|
||||
|
@ -287,7 +287,7 @@ class UbicadorViewModel(val context: Context) : BaseViewModel(context) {
|
|||
) {
|
||||
salix.itemShelvingsUpdate(
|
||||
where = JsonObject().apply { addProperty("id", itemShelvingFk) },
|
||||
JsonObject().apply {
|
||||
params = JsonObject().apply {
|
||||
addProperty("itemFk", itemBuy.itemFk)
|
||||
addProperty("buyFk", itemBuy.id)
|
||||
addProperty("grouping", itemBuy.grouping)
|
||||
|
|
Loading…
Reference in New Issue