Previous fix by hiding any ower with negative balance on the delta
introduced a regression wherein the owee is hidden from the owers list
since they get some amount back. Ideally, the backend would have a
separate owers and owingsDelta map, but since they're together, I've
introduced some frontend logic to calculate it.
I also display how much each person owes specifically on each
transaction to the FE.
Previous fix by hiding any ower with negative balance on the delta introduced a regression wherein the owee is hidden from the owers list since they get some amount back. Ideally, the backend would have a separate owers and owingsDelta map, but since they're together, I've introduced some frontend logic to calculate it.
I also display how much each person owes specifically on each transaction to the FE.