mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
showJournalDebug
This commit is contained in:
parent
3364d344d1
commit
47a9564bdb
@ -43,6 +43,18 @@ instance Show Journal where
|
||||
-- ++ (show $ journalTransactions l)
|
||||
where accounts = flatten $ journalAccountNameTree j
|
||||
|
||||
showJournalDebug j = unlines [
|
||||
show j
|
||||
,show (jtxns j)
|
||||
,show (jmodifiertxns j)
|
||||
,show (jperiodictxns j)
|
||||
,show $ open_timelog_entries j
|
||||
,show $ historical_prices j
|
||||
,show $ final_comment_lines j
|
||||
,show $ jContext j
|
||||
,show $ map fst $ files j
|
||||
]
|
||||
|
||||
nulljournal :: Journal
|
||||
nulljournal = Journal { jmodifiertxns = []
|
||||
, jperiodictxns = []
|
||||
|
Loading…
Reference in New Issue
Block a user