Safe Haskell | None |
---|
Penny.Cabin.Balance.MultiCommodity
Description
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
- textFormats :: Changers
- defaultOpts :: Opts
- defaultParseOpts :: ParseOpts
- defaultFormat :: a -> Qty -> Text
- parseReport :: (Commodity -> Qty -> Text) -> ParseOpts -> Report
- defaultReport :: Report
- report :: Opts -> [Box a] -> [Chunk]
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.
Constructors
Opts | |
Fields
|
defaultFormat :: a -> Qty -> TextSource
Arguments
:: (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.