35 lines
833 B
Plaintext
35 lines
833 B
Plaintext
$ hledger -f sample.journal balance --tree --format="%30(account) %-.20(total)"
|
||
>
|
||
assets $-1
|
||
bank:saving $1
|
||
cash $-2
|
||
expenses $2
|
||
food $1
|
||
supplies $1
|
||
income $-2
|
||
gifts $-1
|
||
salary $-1
|
||
liabilities:debts $1
|
||
----------------------------------
|
||
0
|
||
>= 0
|
||
|
||
<
|
||
2020-09-01 Test
|
||
a -500 AAA
|
||
b
|
||
|
||
# Test too-small maximum balance widths
|
||
$ hledger -f - balance -N --format="%7.7(total) %(account)"
|
||
>
|
||
1 mor.. a
|
||
500 AAA b
|
||
>= 0
|
||
|
||
# Check that maximum balance widths works with colour
|
||
$ hledger -f - balance -N --format="%8.8(total) %(account)" --color=yes
|
||
>
|
||
[31m-500 AAA[m a
|
||
500 AAA b
|
||
>= 0
|