diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-27 03:49:59 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-27 03:49:59 -0400 |
commit | 645e43ef75b1af78ef6a4013684d76fd7d6e7118 (patch) | |
tree | cd68d1857a366cc9662c8be7c838bb9414a6d0a7 /src/report.h | |
parent | f1795e628b0027aed2dc344c757167887c337bc1 (diff) | |
download | fork-ledger-645e43ef75b1af78ef6a4013684d76fd7d6e7118.tar.gz fork-ledger-645e43ef75b1af78ef6a4013684d76fd7d6e7118.tar.bz2 fork-ledger-645e43ef75b1af78ef6a4013684d76fd7d6e7118.zip |
The print command now prints xact's effective date
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h index f92cb236..74a49052 100644 --- a/src/report.h +++ b/src/report.h @@ -510,6 +510,8 @@ public: OPTION__(report_t, print_format_, CTOR(report_t, print_format_) { on("%(format_date(xact.date, \"%Y/%m/%d\"))" + "%(!effective & xact.effective_date ?" + " \"=\" + format_date(xact.effective_date, \"%Y/%m/%d\") : \"\")" "%(xact.cleared ? \" *\" : (xact.pending ? \" !\" : \"\"))" "%(code ? \" (\" + code + \")\" : \"\") %(payee)%(xact.comment | \"\")\n" " %(xact.uncleared ? (cleared ? \"* \" : (pending ? \"! \" : \"\")) : \"\")" |