summaryrefslogtreecommitdiff
path: root/test/regress/543_d.test
blob: 3b4e825afa11533b57a6b292f96d9e13922bfa5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
2018/01/01 * Opening Balance
    Assets:Checking                             $100.00
    Equity:Opening Balances

2018/01/01 * Budget
    [Assets:Checking]                           = 0
    [Assets:Budget:Food:Groceries]              $20.00
    [Assets:Budget:Food:Restaurants]            $80.00

2018/01/02 * Groceries
    Assets:Checking                             = $80.00
    Expenses:Groceries

test bal
              $80.00  Assets
             $100.00    Budget:Food
              $20.00      Groceries
              $80.00      Restaurants
             $-20.00    Checking
            $-100.00  Equity:Opening Balances
              $20.00  Expenses:Groceries
--------------------
                   0
end test

test bal -R
              $80.00  Assets:Checking
            $-100.00  Equity:Opening Balances
              $20.00  Expenses:Groceries
--------------------
                   0
end test