From a64a069a77ac168628bda971672d02e26204c654 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Feb 2009 21:27:28 -0400 Subject: [PATCH] Print stripped amounts in the print report --- src/report.cc | 4 ++-- 1 file 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))"