mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-28 12:54:07 +03:00
29 lines
490 B
Plaintext
29 lines
490 B
Plaintext
# 1. One commodity. Zero accounts should be elided but the final total should not.
|
|
bin/hledger -f - balance
|
|
<<<
|
|
2010/04/01 tr1
|
|
a 16$
|
|
b -16$
|
|
|
|
2010/04/02 tr2
|
|
a -16$
|
|
b 16$
|
|
>>>
|
|
--------------------
|
|
0
|
|
>>>=0
|
|
|
|
# 2. Two commodities. As above, and the final total should be a single commodityless zero.
|
|
bin/hledger -f - balance
|
|
<<<
|
|
2010/1/1
|
|
a 16$ @@ 10€
|
|
b -10€
|
|
2010/1/2
|
|
a -16$
|
|
b 10€ @@ 16$
|
|
>>>
|
|
--------------------
|
|
0
|
|
>>>=0
|