feat: refs#8678 ticketAdvance
This commit is contained in:
parent
3ec49358ad
commit
d3679ae52c
|
@ -22,12 +22,14 @@ import es.verdnatura.presentation.view.feature.collection.mapper.map
|
|||
import es.verdnatura.presentation.view.feature.sacador.model.CollectionVO
|
||||
import es.verdnatura.presentation.view.feature.sacador.model.MistakeTypeListVO
|
||||
import es.verdnatura.presentation.view.feature.sacador.model.MistakeTypeVO
|
||||
import es.verdnatura.presentation.view.feature.ticket.fragment.TicketViewModel
|
||||
import es.verdnatura.presentation.view.feature.workermistake.model.SaleMistakeSalix
|
||||
import retrofit2.Response
|
||||
|
||||
class CollectionCheckerViewModel(val context: Context) : BaseViewModel(context) {
|
||||
private val getItemFromBarcodeUseCase = GetItemFromBarcodeUseCase(salix)
|
||||
private val collectionViewModelChecker = CollectionViewModel(context)
|
||||
private val ticketViewModel = TicketViewModel(context)
|
||||
|
||||
//var isPaused: Boolean = false
|
||||
|
||||
|
@ -366,4 +368,8 @@ class CollectionCheckerViewModel(val context: Context) : BaseViewModel(context)
|
|||
)
|
||||
}
|
||||
|
||||
fun ticketAdvance(ticketFk: Number, workerFk: Number) {
|
||||
ticketViewModel.ticketExits(ticketFk, workerFk)
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue