diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/historicoarticulo/fragment/HistoricoArticuloFragment.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/historicoarticulo/fragment/HistoricoArticuloFragment.kt index eabe3e7d..32afaf2a 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/historicoarticulo/fragment/HistoricoArticuloFragment.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/historicoarticulo/fragment/HistoricoArticuloFragment.kt @@ -197,7 +197,7 @@ class HistoricoArticuloFragment( if (compareShipped == 0) { if (item1.order == null && item2.order == null) { item2.balance!!.compareTo(item1.balance!!) // Comparar por balance cuando ambos órdenes son nulos - }else if (item1.order == null) { + } else if (item1.order == null) { -1 } else if (item2.order == null) { 1 @@ -229,7 +229,7 @@ class HistoricoArticuloFragment( customDialog = CustomDialog(requireContext()) customDialog .setTitle(getString(R.string.entry)) - .setDescription(item.entityId.toString()) + .setDescription(item.originId.toString()) .setOkButton( getString( R.string.accept