diff --git a/hledger-web/Handler/JournalR.hs b/hledger-web/Handler/JournalR.hs index 29ade6c61..a27b6d23e 100644 --- a/hledger-web/Handler/JournalR.hs +++ b/hledger-web/Handler/JournalR.hs @@ -59,20 +59,20 @@ journalTransactionsReportAsHtml _ vd (_,items) = [hamlet| where -- .#{datetransition} itemAsHtml :: ViewData -> (Int, Bool, Bool, Bool, TransactionsReportItem) -> HtmlUrl AppRoute - itemAsHtml VD{..} (n, _, _, _, (t, _, split, _, amt, _)) = [hamlet| - + itemAsHtml VD{..} (n, _, _, _, (torig, _, split, _, amt, _)) = [hamlet| + #{date} #{elideRight 60 desc} $if showamt \#{mixedAmountAsHtml amt} -$forall p' <- tpostings t - +$forall p' <- tpostings torig +   - #{elideAccountName 40 $ paccount p'} + #{elideAccountName 40 $ paccount p'} #{mixedAmountAsHtml $ pamount p'}   @@ -86,7 +86,7 @@ $forall p' <- tpostings t -- datetransition | newm = "newmonth" -- | newd = "newday" -- | otherwise = "" :: String - (firstposting, date, desc) = (False, show $ tdate t, tdescription t) + (firstposting, date, desc) = (False, show $ tdate torig, tdescription torig) -- acctquery = (here, [("q", pack $ accountQuery acct)]) showamt = not split || not (isZeroMixedAmount amt)