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.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
💡

Feature Request

Date

About 1 month ago

Author

Mahammad Abdullayev

Subscribe to request

Get notified by email when there are changes.