feat: refs #6769 refactor Item_getBalance

This commit is contained in:
Sergio De la torre 2024-09-18 13:09:30 +02:00
parent 2246c21986
commit 3f8d3737f6
1 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ class HistoricoArticuloFragment(
if (compareShipped == 0) { if (compareShipped == 0) {
if (item1.order == null && item2.order == null) { if (item1.order == null && item2.order == null) {
item2.balance!!.compareTo(item1.balance!!) // Comparar por balance cuando ambos órdenes son nulos item2.balance!!.compareTo(item1.balance!!) // Comparar por balance cuando ambos órdenes son nulos
}else if (item1.order == null) { } else if (item1.order == null) {
-1 -1
} else if (item2.order == null) { } else if (item2.order == null) {
1 1
@ -229,7 +229,7 @@ class HistoricoArticuloFragment(
customDialog = CustomDialog(requireContext()) customDialog = CustomDialog(requireContext())
customDialog customDialog
.setTitle(getString(R.string.entry)) .setTitle(getString(R.string.entry))
.setDescription(item.entityId.toString()) .setDescription(item.originId.toString())
.setOkButton( .setOkButton(
getString( getString(
R.string.accept R.string.accept