From 7dfb424f3f5547bc4b49a56a840b852579baeb18 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 10 Jan 2017 12:05:04 -0800 Subject: [PATCH] Revert "print: omit the last posting amount, as we used to #465, #442" This reverts commit 29183e7dddc07faf699ec550ce417a542f42802a. --- hledger/Hledger/Cli/Print.hs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hledger/Hledger/Cli/Print.hs b/hledger/Hledger/Cli/Print.hs index d258bdc94..1a9a02092 100644 --- a/hledger/Hledger/Cli/Print.hs +++ b/hledger/Hledger/Cli/Print.hs @@ -60,11 +60,8 @@ printEntries opts@CliOpts{reportopts_=ropts} j = do _ -> (entriesReportAsText, ropts) writeOutput opts $ render $ entriesReport ropts' q j --- | Render journal entries (transactions) as a string, which should be valid journal format. entriesReportAsText :: EntriesReport -> String -entriesReportAsText items = concatMap showtxn items - where - showtxn = showTransaction +entriesReportAsText items = concatMap showTransactionUnelided items -- XXX -- tests_showTransactions = [