I have a module in a project that requires a ledger that looks like a bank statement.
id | date | refno | debit | credit | bal
| 50,000 | | 50,000
25000 | 25000
10000 | 15000
Credit should deduct from last ball . Thanks