showJournalDebug
This commit is contained in:
parent
3364d344d1
commit
47a9564bdb
@ -43,6 +43,18 @@ instance Show Journal where
|
|||||||
-- ++ (show $ journalTransactions l)
|
-- ++ (show $ journalTransactions l)
|
||||||
where accounts = flatten $ journalAccountNameTree j
|
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
|
||||||
nulljournal = Journal { jmodifiertxns = []
|
nulljournal = Journal { jmodifiertxns = []
|
||||||
, jperiodictxns = []
|
, jperiodictxns = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user