mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-20 02:37:12 +03:00
doc: Fix some outdated documentation.
This commit is contained in:
parent
e63138ef7d
commit
1f891a4145
@ -34,8 +34,8 @@ import Hledger.Utils
|
|||||||
import Hledger.Reports.ReportOptions
|
import Hledger.Reports.ReportOptions
|
||||||
|
|
||||||
|
|
||||||
-- | A postings report is a list of postings with a running total, a label
|
-- | A postings report is a list of postings with a running total, and a little extra
|
||||||
-- for the total field, and a little extra transaction info to help with rendering.
|
-- transaction info to help with rendering.
|
||||||
-- This is used eg for the register command.
|
-- This is used eg for the register command.
|
||||||
type PostingsReport = [PostingsReportItem] -- line items, one per posting
|
type PostingsReport = [PostingsReportItem] -- line items, one per posting
|
||||||
type PostingsReportItem = (Maybe Day -- The posting date, if this is the first posting in a
|
type PostingsReportItem = (Maybe Day -- The posting date, if this is the first posting in a
|
||||||
|
@ -35,10 +35,8 @@ import Hledger.Utils
|
|||||||
|
|
||||||
-- | A transactions report includes a list of transactions touching multiple accounts
|
-- | A transactions report includes a list of transactions touching multiple accounts
|
||||||
-- (posting-filtered and unfiltered variants), a running balance, and some
|
-- (posting-filtered and unfiltered variants), a running balance, and some
|
||||||
-- other information helpful for rendering a register view (a flag
|
-- other information helpful for rendering a register view with or without a notion
|
||||||
-- indicating multiple other accounts and a display string describing
|
-- of current account(s). Two kinds of report use this data structure, see transactionsReport
|
||||||
-- them) with or without a notion of current account(s).
|
|
||||||
-- Two kinds of report use this data structure, see transactionsReport
|
|
||||||
-- and accountTransactionsReport below for details.
|
-- and accountTransactionsReport below for details.
|
||||||
type TransactionsReport = [TransactionsReportItem] -- line items, one per transaction
|
type TransactionsReport = [TransactionsReportItem] -- line items, one per transaction
|
||||||
type TransactionsReportItem = (Transaction -- the original journal transaction, unmodified
|
type TransactionsReportItem = (Transaction -- the original journal transaction, unmodified
|
||||||
|
Loading…
Reference in New Issue
Block a user