diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-03 00:22:55 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-03 00:22:55 -0400 |
commit | 363fb6d55823cb84f49735e795232837a40a4f0c (patch) | |
tree | 4849b4aa7f00709bcb920d0971de829492ee6907 /report.cc | |
parent | dfc14dfff3dfc31e21ea7f11f9723de977d6c179 (diff) | |
download | fork-ledger-363fb6d55823cb84f49735e795232837a40a4f0c.tar.gz fork-ledger-363fb6d55823cb84f49735e795232837a40a4f0c.tar.bz2 fork-ledger-363fb6d55823cb84f49735e795232837a40a4f0c.zip |
Got date, payee and accounts back into the register report.
Diffstat (limited to 'report.cc')
-rw-r--r-- | report.cc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -521,6 +521,16 @@ expr_t::ptr_op_t report_t::lookup(const string& name) case 'f': if (std::strcmp(p, "format") == 0) return MAKE_FUNCTOR(report_t::option_format); + else if (name.find("fmt_") == 0) { + switch (name[4]) { + case 't': + return MAKE_FUNCTOR(report_t::get_amount_expr); +#if 0 + case 'T': + return MAKE_FUNCTOR(report_t::get_total_expr); +#endif + } + } break; case 't': |