feat: refs #7763 rename

This commit is contained in:
Sergio De la torre 2024-09-18 13:18:07 +02:00
parent c42061a8d1
commit f79292d4e2
1 changed files with 3 additions and 3 deletions

View File

@ -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)