mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
type signature
This commit is contained in:
parent
b5d1ebba30
commit
e499efce77
@ -35,6 +35,7 @@ showPosting (Posting{paccount=a,pamount=amt,pcomment=com,ptype=t}) =
|
||||
showamount = padleft 12 . showMixedAmountOrZero
|
||||
comment = if null com then "" else " ; " ++ com
|
||||
-- XXX refactor
|
||||
showPostingForRegister :: Posting -> String
|
||||
showPostingForRegister (Posting{paccount=a,pamount=amt,ptype=t}) =
|
||||
concatTopPadded [showaccountname a ++ " ", showamount amt]
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user