File: dir-commodity-alias.test

package info (click to toggle)
ledger 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,964 kB
  • sloc: cpp: 39,393; python: 4,476; perl: 1,309; sh: 477; lisp: 435; yacc: 103; makefile: 58
file content (23 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
commodity $
    alias USD

2012-03-12 * $
    A    $10.00
    B

2012-03-12 * USD
    A     15.00 USD
    B

test bal
             25.00 $  A
            -25.00 $  B
--------------------
                   0
end test

test reg a
12-Mar-12 $                     A                           10.00 $      10.00 $
12-Mar-12 USD                   A                           15.00 $      25.00 $
end test