summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-15 21:27:28 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-15 21:27:28 -0400
commita64a069a77ac168628bda971672d02e26204c654 (patch)
tree3f6fbfd45d410be6fad0cdc40dd000e0b008ce8c /src
parent780ce4a5d0f313c60f8b51a00d29f997381691d0 (diff)
downloadfork-ledger-a64a069a77ac168628bda971672d02e26204c654.tar.gz
fork-ledger-a64a069a77ac168628bda971672d02e26204c654.tar.bz2
fork-ledger-a64a069a77ac168628bda971672d02e26204c654.zip
Print stripped amounts in the print report
Diffstat (limited to 'src')
-rw-r--r--src/report.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc
index f6b3b414..49623eda 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -65,10 +65,10 @@ report_t::report_t(session_t& _session)
"%(code ? \" (\" + code + \")\" : \"\") %(payee)%(entry.comment | \"\")\n"
" %(entry.uncleared ? (cleared ? \"* \" : (pending ? \"! \" : \"\")) : \"\")"
"%-34(account)"
- " %12(calculated ? \"\" : amount)%(comment | \"\")\n%/"
+ " %12(calculated ? \"\" : strip(amount))%(comment | \"\")\n%/"
" %(entry.uncleared ? (cleared ? \"* \" : (pending ? \"! \" : \"\")) : \"\")"
"%-34(account)"
- " %12(calculated ? \"\" : amount)%(comment | \"\")\n%/\n");
+ " %12(calculated ? \"\" : strip(amount))%(comment | \"\")\n%/\n");
HANDLER(balance_format_).on(
"%20(print_balance(strip(display_total), 20))"