Hello all,
I am trying to do group my entries to give a daily summary by sub-account.
You could say it's a "negative depth," i.e.
* ledger reg -D --depth=-1*
I have this:
2014-03-01 * Pet food
Expense:Dogs 1
Expense:Cats 2
Expense:Mice 3
Assets:Bank
2014-03-01 * Pet food additions
Revenue:Dogs -0.1
Revenue:Cats -0.2
Revenue:Mice -0.3
Assets:AccountsReceivable
2014-03-02 * Pet food
Expense:Dogs 1
Expense:Cats 2
Expense:Mice 3
Assets:Bank
2014-03-02 * Pet food additions
Revenue:Dogs -0.1
Revenue:Cats -0.2
Revenue:Mice -0.3
Assets:AccountsReceivable
2014-03-03 * Pet food
Expense:Dogs 1
Expense:Cats 2
Expense:Mice 3
Assets:Bank
2014-03-03 * Pet food additions
Revenue:Dogs -0.1
Revenue:Cats -0.2
Revenue:Mice -0.3
Assets:AccountsReceivable
I'd like to get a daily report of each pet, i.e.
*ledger register -D (some other arguments)* to give me:
2014-03-01 Dogs 0.9 0.9
Cats 1.8 1.8
Mice 2.7 2.7
2014-03-02 Dogs 0.9 1.8
Cats 1.8 3.6
Mice 2.7 5.4
2014-03-01 Dogs 0.9 2.7
Cats 1.8 5.4
Mice 2.7 8.1
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.