feat: refs#8455 setLinkSalix

This commit is contained in:
Sergio De la torre 2025-01-31 07:21:03 +01:00
parent 26151605fa
commit 43b1d828e8
2 changed files with 10 additions and 1 deletions

View File

@ -70,6 +70,7 @@ import es.verdnatura.presentation.view.feature.roadmap.model.RoadStopMapTruck
import es.verdnatura.presentation.view.feature.roadmap.model.StopMapTruckPallet import es.verdnatura.presentation.view.feature.roadmap.model.StopMapTruckPallet
import es.verdnatura.presentation.view.feature.sacador.model.CollectionTicket import es.verdnatura.presentation.view.feature.sacador.model.CollectionTicket
import es.verdnatura.presentation.view.feature.sacador.model.CollectionVO import es.verdnatura.presentation.view.feature.sacador.model.CollectionVO
import es.verdnatura.presentation.view.feature.sacador.model.ItemShelvingSale
import es.verdnatura.presentation.view.feature.sacador.model.MistakeTypeVO import es.verdnatura.presentation.view.feature.sacador.model.MistakeTypeVO
import es.verdnatura.presentation.view.feature.sacador.model.PlacementSupplyVO import es.verdnatura.presentation.view.feature.sacador.model.PlacementSupplyVO
import es.verdnatura.presentation.view.feature.sacador.model.TicketStateSalix import es.verdnatura.presentation.view.feature.sacador.model.TicketStateSalix
@ -1067,6 +1068,11 @@ interface SalixService {
@Path("id") id: Number, @Path("id") id: Number,
): Call<JsonObject> ): Call<JsonObject>
@GET("ItemShelvingSales")
fun itemShelvingSaleTotalBySale(
@Query("filter") filter: String,
): Call<List<ItemShelvingSale>>
@PATCH("ItemShelvingSales/{id}") @PATCH("ItemShelvingSales/{id}")
fun itemShelvingsReservedUpdate( fun itemShelvingsReservedUpdate(
@Path("id") id: Number, @Body params: Any @Path("id") id: Number, @Body params: Any

View File

@ -43,7 +43,10 @@ data class ItemShelving(
var itemFk: Int, var itemFk: Int,
var shelvingFk: String, var shelvingFk: String,
var position: Int, var position: Int,
var quantity: Int var quantity: Int,
var visible: Int? = null,
var available: Int? = null
) )
data class ItemShelvingSalix( data class ItemShelvingSalix(