Accountant

class · namespace z3n7.Utilities · source Reports/Accountant.cs

public class Accountant

HTML reports of account balances from the _native table, colour-coded by amount.

Constructors

Accountant

public Accountant(IZennoPosterProjectModel project, Logger log = null)

source

Creates the report builder.

Parameter Description
log Not used.

Methods

ShowBalanceTable

public void ShowBalanceTable(string chains = null, bool single = false, bool call = false)

source

Writes a balance table of accounts up to rangeEnd to {project.Path}/.data/balanceReport.html. Up to 3 columns and 100+ rows are laid out as several 50-row blocks side by side. The {project.Path}/.data folder must exist.

Parameter Description
chains Comma-separated columns of _native; default all.
single Always use one table.
call Open the file with the default program afterwards.

ShowBalanceTableFromList

public void ShowBalanceTableFromList(List<string> data, bool call = false)

source

Writes a balance table from account:balance lines to {project.Path}/.data/balanceListReport.html; other lines are skipped. The {project.Path}/.data folder must exist.

Parameter Description
data Lines account:balance.
call Open the file with the default program afterwards.

ShowBalanceTableHeatmap

public void ShowBalanceTableHeatmap(string chains = null, bool call = false)

source

Writes a heatmap of balances per account and chain to {project.Path}/.data/balanceHeatmap.html. The {project.Path}/.data folder must exist.

Parameter Description
chains Comma-separated columns of _native; default all except id.
call Open the file with the default program afterwards.