I am trying to create this cash inflow and outflow tracker, however I have doubts-
- Do I need to create 2 different database collections (1 for inflow and 1 for outflow ) or only 1 including both inflow and outflow field.
- if I create 2 different database how to show it as list sorting by date for mix both for inflow and outflow.
- Also, how to show updated balance after each transaction.
I am attaching a reference image. Please suggest.