diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/collection/fragment/CollectionFragmentPickerNew.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/collection/fragment/CollectionFragmentPickerNew.kt index 5e516242..ed3479b4 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/collection/fragment/CollectionFragmentPickerNew.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/collection/fragment/CollectionFragmentPickerNew.kt @@ -1167,13 +1167,7 @@ class CollectionFragmentPickerNew( //ESTADOS private fun changeTicketState() { - - tickets.forEach { - viewModel.ticketStateTodaySetState( - ticketFk = it.toInt(), state = "PREPARED" - ) - } - + viewModel.collection_setState(collectionFk = collection.collectionFk, "PREPARED") } //OTROS