bal/bs/bse/cf/is: show short monthnames in monthly reports (like html)
This commit is contained in:
parent
d403b003c1
commit
1347885cd8
@ -724,7 +724,7 @@ balanceReportAsTable opts (MultiBalanceReport (colspans, items, (coltotals,tot,a
|
|||||||
(map rowvals items)
|
(map rowvals items)
|
||||||
where
|
where
|
||||||
mkDate = case balancetype_ opts of
|
mkDate = case balancetype_ opts of
|
||||||
PeriodChange -> showDateSpan
|
PeriodChange -> showDateSpanMonthAbbrev
|
||||||
_ -> maybe "" (showDate . prevday) . spanEnd
|
_ -> maybe "" (showDate . prevday) . spanEnd
|
||||||
colheadings = map mkDate colspans
|
colheadings = map mkDate colspans
|
||||||
++ (if row_total_ opts then [" Total"] else [])
|
++ (if row_total_ opts then [" Total"] else [])
|
||||||
|
|||||||
@ -294,7 +294,7 @@ compoundBalanceReportAsCsv ropts (title, colspans, subreports, (coltotals, grand
|
|||||||
addtotals $
|
addtotals $
|
||||||
padRow title :
|
padRow title :
|
||||||
("Account" :
|
("Account" :
|
||||||
map showDateSpan colspans
|
map showDateSpanMonthAbbrev colspans
|
||||||
++ (if row_total_ ropts then ["Total"] else [])
|
++ (if row_total_ ropts then ["Total"] else [])
|
||||||
++ (if average_ ropts then ["Average"] else [])
|
++ (if average_ ropts then ["Average"] else [])
|
||||||
) :
|
) :
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user