Closed j3k0 closed 2 years ago
@HusseinTaha This task wasn't well specified sorry.
The idea here is not just to fix the scrolling, but a deeper change. I'll update the description right away.
The task is accomplished, please check the below screenshot.
However i didn't push yet. How to calculate the balance column? cause I can't see that prop inside the json returned. Can you please advise?
Good!
The balance is like in a bank account: accumulate the amount of each transaction over time. In the silver example above, you would have 10, then 12, then 13, then 14.
Another thing, you could remove the "Actions" column and just make the "item" clickable.
I updated the changes, but I am not sure why the commits are not showing here .. anwyays here is a link => #94
Date, Item, Amount, Balance
Final result:
gold-coin
silver-coin