blob: 5990c882b038ffce871f0cc69898553d241390f8 (
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
33
34
35
36
37
38
|
2012-03-10 Employer
Assets:Cash $100
Income:Employer
2012-03-10 KFC
Expenses:Food $20
Assets:Cash
2012-03-10 KFC - Rebate
Assets:Cash
Expenses:Food $-5
2012-03-10 KFC - Food & Rebate
Expenses:Food $20
Expenses:Food $-5
Assets:Cash
test reg --dc
12-Mar-10 Employer Assets:Cash $100 0 $100
Incom:Employer 0 $100 0
12-Mar-10 KFC Expenses:Food $20 0 $20
Assets:Cash 0 $20 0
12-Mar-10 KFC - Rebate Assets:Cash $5 0 $5
Expenses:Food 0 $5 0
12-Mar-10 KFC - Food & R.. Expenses:Food $20 0 $20
Expenses:Food 0 $5 $15
Assets:Cash 0 $15 0
end test
test bal --dc
$105 $35 $70 Assets:Cash
$40 $10 $30 Expenses:Food
0 $100 $-100 Income:Employer
--------------------------------------------
$145 $145 0
end test
|