Safe Haskell | None |
---|
The multi-commodity Balance report. This is the simpler balance report because it does not allow for commodities to be converted.
- data Opts = Opts {
- balanceFormat :: Commodity -> Qty -> Text
- showZeroBalances :: ShowZeroBalances
- order :: SubAccount -> SubAccount -> Ordering
- defaultOpts :: Opts
- defaultParseOpts :: ParseOpts
- defaultFormat :: a -> Qty -> Text
- parseReport :: (Commodity -> Qty -> Text) -> ParseOpts -> Report
- defaultReport :: Report
- report :: Opts -> [Box a] -> [PreChunk]
Documentation
Options for making the balance report. These are the only options needed to make the report if the options are not being parsed in from the command line.
Opts | |
|
defaultFormat :: a -> Qty -> TextSource
:: (Commodity -> Qty -> Text) | How to format balances. For instance you can use this to perform commodity-sensitive digit grouping. |
-> ParseOpts | Default options for the report. These can be overriden on the command line. |
-> Report |
The MultiCommodity report with configurable options that have been parsed from the command line.
The MultiCommodity report, with default options.