Skip to main content

Bug in transaction calculation

Hi, there is small bug in transaction. for example let’s say we have 5 transaction, 1 income and 4 expense, when we select all this transactions, in transaction page shows total expense. so probably it calculates like: 4(- expense) + 1 (income) and show result. so let’s say income is more than expense result will be positive number. so everything is correct until here. and if you unselect income it must show negative number is sum of 4 expense. but bug is one unselect income. result will be negative but instead of sum of 4 expense shows income as a negative number.

example calculation:

4 expense: -1000

1 income: 5000.

when you select all transactions result will be: -1000+5000= 4000

when unselect income result must be: -1000 but in app result seems as -5000

but if you refresh and select this 4 expense separately result will seems as -1000

I have attached some example photo from app.

I select all of them and shows correct calculation.

I unselect income

If I select one by one, and then unselect it works properly. Problem is, when I select all and then unselect it works buggy so probably problem is in select or select all functionality.

Status: Completed3 comments

Log in to comment and vote

Comments3

  • Mike

    Team•

    Aug 8

    @Mahammad Abdullayev - This has been fixed. Thanks again for bringing it to our attention!

    • Mahammad Abdullayev

      •

      Aug 8

      Thanks for quick response and fix! 😊

  • Mike

    Team•

    Aug 7

    Hey Mahammad!

    Crazy find! Thanks so much for the detailed explanation. I was able to recreate this bug, we’ll push a fix out for it soon.

    Really appreciate it!