summaryrefslogtreecommitdiff
path: root/test/regress/D060256A.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-02 01:39:18 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-02 01:40:07 -0500
commit3a0879aff0b1ea0037098ae4f602b92719ff9a84 (patch)
tree7a4ff9ee85a5bd50e627c9b7b233246f55e566da /test/regress/D060256A.test
parent4db60bb46429ced93770afe69b42477c03c47e72 (diff)
downloadfork-ledger-3a0879aff0b1ea0037098ae4f602b92719ff9a84.tar.gz
fork-ledger-3a0879aff0b1ea0037098ae4f602b92719ff9a84.tar.bz2
fork-ledger-3a0879aff0b1ea0037098ae4f602b92719ff9a84.zip
Added "reported posts" into account xdata
This is necessary because sometimes, a post from one account will get reported as though it were in another account (this happens with --budget, to show child account postings within their parent account). In that case, the account needs to remember which postings have been reported as being within it, so that it can add these amounts to its own total in the balance report.
Diffstat (limited to 'test/regress/D060256A.test')
-rw-r--r--test/regress/D060256A.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regress/D060256A.test b/test/regress/D060256A.test
new file mode 100644
index 00000000..26c30351
--- /dev/null
+++ b/test/regress/D060256A.test
@@ -0,0 +1,16 @@
+budget --now=2009/11/01 --end=2009/11/30
+<<<
+~ Monthly
+ Expenses:Food $500.00
+ Assets
+
+2009/11/01 Sample
+ Expenses:Food:Dining $20.00
+ Assets
+>>>1
+ $-20.00 $-500.00 $480.00 4% Assets
+ $20.00 $500.00 $-480.00 4% Expenses:Food
+------------ ------------ ------------ -----
+ 0 0 0 0
+>>>2
+=== 0