fix newlines
This commit is contained in:
parent
d795c0bac8
commit
daff4bf09e
@ -50,7 +50,7 @@ autofillEntry e@(LedgerEntry _ _ _ _ _ ts _) =
|
|||||||
|
|
||||||
showEntry :: LedgerEntry -> String
|
showEntry :: LedgerEntry -> String
|
||||||
showEntry e =
|
showEntry e =
|
||||||
"\n" ++ precedingcomment ++ description ++ unlines (showtxns $ etransactions e)
|
unlines $ [precedingcomment ++ description] ++ (showtxns $ etransactions e) ++ [""]
|
||||||
where
|
where
|
||||||
precedingcomment = epreceding_comment_lines e
|
precedingcomment = epreceding_comment_lines e
|
||||||
description = concat [date, status, code, desc] -- , comment]
|
description = concat [date, status, code, desc] -- , comment]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user