hide zeros only in bal
This commit is contained in:
@@ -97,7 +97,7 @@ func Main() {
|
||||
transactions := deltas.Transactions()
|
||||
|
||||
for i, transaction := range transactions {
|
||||
balances := ledger.Deltas(transaction).Like(q).Group(group).Balances().WithBPIs(bpis)
|
||||
balances := ledger.Deltas(transaction).Like(q).Group(group).Balances().WithBPIs(bpis).Nonzero()
|
||||
shouldPrint := false
|
||||
shouldPrint = shouldPrint || len(balances) > 2
|
||||
if config.Query.NoExchanging {
|
||||
|
||||
Reference in New Issue
Block a user