feat: refs #6769 refactor Item_getBalance
This commit is contained in:
parent
2246c21986
commit
3f8d3737f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue