refs #5513 addFromBuy endpoint
This commit is contained in:
parent
2b112b51e6
commit
de65d14a33
|
@ -73,6 +73,14 @@ interface SalixService {
|
|||
):
|
||||
Call<Any>
|
||||
|
||||
@POST("Entries/{id}/addFromBuy")
|
||||
fun addFromBuy(
|
||||
@Path("id") id: Number,
|
||||
@Query("item") item: Number,
|
||||
@Query("printedStickers") printedStickers: Number
|
||||
):
|
||||
Call<Any>
|
||||
|
||||
|
||||
@POST("tickets/{idTicket}/transferSales") //-->saleMove en Silex
|
||||
fun transferSalesSalix(
|
||||
|
|
|
@ -140,4 +140,9 @@ class PackagingViewModel(val context: Context) : BaseViewModel(context) {
|
|||
salix.uploadEntryPhoto(id, warehouseId, companyId, dmsTypeId, reference, description, hasFile, file)
|
||||
.enqueue(object : SilexCallback<Any>(context){})
|
||||
}
|
||||
|
||||
fun entry_addFromBuy(id: Number, item: Number, printedStickers: Number) {
|
||||
salix.addFromBuy(id, item, printedStickers)
|
||||
.enqueue(object : SilexCallback<Any>(context){})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ class SupplierFragment(
|
|||
false,
|
||||
file = filePart
|
||||
)*/
|
||||
|
||||
// viewModel.entry_addFromBuy(8,1,100)
|
||||
super.onCreate(savedInstanceState)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue