penny-0.32.0.8: Extensible double-entry accounting system

Safe HaskellNone

Penny.Cabin.Balance.Convert.ChunkerPct

Synopsis

Documentation

data MainRow Source

Displays a single account in a Balance report. In a single-commodity report, this account will only be one screen line long. In a multi-commodity report, it might be multiple lines long, with one screen line for each commodity.

Constructors

MainRow 

Fields

mrIndentation :: Int

Indent the account name by this many levels (not by this many spaces; this number is multiplied by another number in the Chunker source to arrive at the final indentation amount)

mrText :: Text

Text for the name of the account

mrPercent :: Maybe Percent

If Nothing, display dashes for the percent.

data OneColRow Source

Displays a one-column row.

Constructors

OneColRow 

Fields

ocIndentation :: Int

Indent the text by this many levels (not by this many spaces; this number is multiplied by another number in the Chunker source to arrive at the final indentation amount)

ocText :: Text

Text for the left column

data Percent Source

Constructors

Percent 

Fields

pctDrCr :: DrCr
 
pctAmount :: Double
 

Instances

rowsToChunksSource

Arguments

:: Changers 
-> RoundTo

Round by this many places

-> [Row] 
-> [Chunk]