hledger-ui
Safe HaskellNone
LanguageGHC2021

Hledger.UI.BalancesheetScreen

Synopsis

Documentation

bsNew :: UIOpts -> Day -> Journal -> Maybe AccountName -> Screen Source #

Construct a balance sheet screen listing the appropriate set of accounts, with the appropriate one selected. Screen-specific arguments: the account to select if any.

bsUpdate :: UIOpts -> Day -> Journal -> AccountsScreenState -> AccountsScreenState Source #

Update a balance sheet screen's state from these options, reporting date, and journal.

bsDraw :: UIState -> [Widget Name] Source #

bsHandle :: BrickEvent Name AppEvent -> EventM Name UIState () Source #