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 (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