@@ -121,13 +121,13 @@ postingsReportAsCsv =
121
121
122
122
postingsReportAsSpreadsheet ::
123
123
AmountFormat -> Maybe Text -> [Text ] ->
124
- PostingsReport -> [[Spr. Cell Spr. NumLines T. Text ]]
125
- postingsReportAsSpreadsheet fmt base query is =
124
+ PostingsReport -> [[Spr. Cell Spr. NumLines Text ]]
125
+ postingsReportAsSpreadsheet fmt baseUrl query is =
126
126
Spr. addHeaderBorders
127
127
(map Spr. headerCell
128
128
[" txnidx" ," date" ," code" ," description" ," account" ," amount" ," total" ])
129
129
:
130
- map (postingsReportItemAsRecord fmt base query) is
130
+ map (postingsReportItemAsRecord fmt baseUrl query) is
131
131
132
132
{- ToDo:
133
133
link txnidx to journal URL,
@@ -136,12 +136,12 @@ link txnidx to journal URL,
136
136
postingsReportItemAsRecord ::
137
137
(Spr. Lines border ) =>
138
138
AmountFormat -> Maybe Text -> [Text ] ->
139
- PostingsReportItem -> [Spr. Cell border T. Text ]
140
- postingsReportItemAsRecord fmt base query (_, _, _, p, b) =
139
+ PostingsReportItem -> [Spr. Cell border Text ]
140
+ postingsReportItemAsRecord fmt baseUrl query (_, _, _, p, b) =
141
141
[idx,
142
- (dateCell base query (paccount p) date) {Spr. cellType = Spr. TypeDate },
142
+ (dateCell baseUrl query (paccount p) date) {Spr. cellType = Spr. TypeDate },
143
143
cell code, cell desc,
144
- setAccountAnchor base query (paccount p) $ cell acct,
144
+ setAccountAnchor baseUrl query (paccount p) $ cell acct,
145
145
amountCell (pamount p),
146
146
amountCell b]
147
147
where
0 commit comments