hledger-web-1.3: Web interface for the hledger accounting tool

Safe Haskell | None
Language | Haskell2010

Handler.RegisterR

Description

/register handlers.

Synopsis

- getRegisterR :: Handler Html
- postRegisterR :: Handler Html
- registerReportHtml :: WebOpts -> ViewData -> TransactionsReport -> HtmlUrl AppRoute
- registerItemsHtml :: WebOpts -> ViewData -> TransactionsReport -> HtmlUrl AppRoute
- registerChartHtml :: [(CommoditySymbol, (String, [TransactionsReportItem]))] -> HtmlUrl AppRoute

# Documentation

getRegisterR :: Handler Html #

The main journal/account register view, with accounts sidebar.

postRegisterR :: Handler Html #

registerReportHtml :: WebOpts -> ViewData -> TransactionsReport -> HtmlUrl AppRoute #

registerItemsHtml :: WebOpts -> ViewData -> TransactionsReport -> HtmlUrl AppRoute #

registerChartHtml :: [(CommoditySymbol, (String, [TransactionsReportItem]))] -> HtmlUrl AppRoute #

Generate javascript/html for a register balance line chart based on the provided TransactionsReportItems. registerChartHtml :: forall t (t1 :: * -> *) t2 t3 t4 t5. Data.Foldable.Foldable t1 => t1 (Transaction, t2, t3, t4, t5, MixedAmount) -> t -> Text.Blaze.Internal.HtmlM ()