summaryrefslogtreecommitdiff
path: root/test/input
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-10-24 13:20:08 -0700
committerJohn Wiegley <johnw@newartisans.com>2011-10-24 13:20:08 -0700
commit5bf447198163505296b2843441b93165d865b16e (patch)
tree14dab4f113a37672caaf4b4d34b25fb59b32a7a2 /test/input
parent24d6619a52d1239f4df3371e4ef69e4a8fd930a1 (diff)
parent071d23d821c680880e873752d37df980d173d355 (diff)
downloadfork-ledger-5bf447198163505296b2843441b93165d865b16e.tar.gz
fork-ledger-5bf447198163505296b2843441b93165d865b16e.tar.bz2
fork-ledger-5bf447198163505296b2843441b93165d865b16e.zip
Merge pull request #41 from enderw88/next
New draft of documentation
Diffstat (limited to 'test/input')
-rw-r--r--test/input/drewr.dat4
-rw-r--r--test/input/drewr3.dat67
2 files changed, 69 insertions, 2 deletions
diff --git a/test/input/drewr.dat b/test/input/drewr.dat
index 13b88844..b930de82 100644
--- a/test/input/drewr.dat
+++ b/test/input/drewr.dat
@@ -1,9 +1,9 @@
; -*- ledger -*-
-= account =~ /^Income/
+= /^Income/
(Liabilities:Tithe) 0.12
-~ Monthly
+~ monthly in 2004
Assets:Checking $500.00
Income:Salary
diff --git a/test/input/drewr3.dat b/test/input/drewr3.dat
new file mode 100644
index 00000000..fca61d24
--- /dev/null
+++ b/test/input/drewr3.dat
@@ -0,0 +1,67 @@
+; -*- ledger -*-
+
+= /^Income/
+ (Liabilities:Tithe) 0.12
+
+;~ Monthly
+; Assets:Checking $500.00
+; Income:Salary
+
+;~ Monthly
+; Expenses:Food $100
+; Assets
+
+2010/12/01 * Checking balance
+ Assets:Checking $1,000.00
+ Equity:Opening Balances
+
+2010/12/20 * Organic Co-op
+ Expenses:Food:Groceries $ 37.50 ; [=2011/01/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/02/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/03/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/04/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/05/01]
+ Expenses:Food:Groceries $ 37.50 ; [=2011/06/01]
+ Assets:Checking $ -225.00
+
+2010/12/28=2011/01/01 Acme Mortgage
+ Liabilities:Mortgage:Principal $ 200.00
+ Expenses:Interest:Mortgage $ 500.00
+ Expenses:Escrow $ 300.00
+ Assets:Checking $ -1000.00
+
+2011/01/02 Grocery Store
+ Expenses:Food:Groceries $ 65.00
+ Assets:Checking
+
+2011/01/05 Employer
+ Assets:Checking $ 2000.00
+ Income:Salary
+
+2011/01/14 Bank
+ ; Regular monthly savings transfer
+ Assets:Savings $ 300.00
+ Assets:Checking
+
+2011/01/19 Grocery Store
+ Expenses:Food:Groceries $ 44.00
+ Assets:Checking
+
+2011/01/25 Bank
+ ; Transfer to cover car purchase
+ Assets:Checking $ 5,500.00
+ Assets:Savings
+ ; :nobudget:
+
+2011/01/25 Tom's Used Cars
+ Expenses:Auto $ 5,500.00
+ ; :nobudget:
+ Assets:Checking
+
+2011/01/27 Book Store
+ Expenses:Books $20.00
+ Liabilities:MasterCard
+
+2011/12/01 Sale
+ Assets:Checking:Business $ 30.00
+ Income:Sales