Class

BalanceReport

BalanceReport(balanceReportPlain, decimalSeparator, fractionDigits)

A BalanceReport stores the balances based on an query.

Constructor

new BalanceReport(balanceReportPlain, decimalSeparator, fractionDigits)

Parameters:
Name Type Description
balanceReportPlain Array balances wrapped array
decimalSeparator DecimalSeparator decimal separator of book
fractionDigits FractionDigits Fraction digits of book

Methods

createDataTable() → {BalancesDataTableBuilder}

getAccountBalanceReports() → {Array.<Report.AccountBalanceReport>}

all account balances of this query

getGroupBalanceReport(groupName) → {Report.GroupBalanceReport}

Parameters:
Name Type Description
groupName string The name of the group filtered on query
an specific Report.GroupBalanceReport of this query

getGroupBalanceReports() → {Array.<Report.GroupBalanceReport>}

all group balances of this query

getPeriodicity() → {string}

the balance periodicity.
string

getTagBalanceReports() → {Array.<Report.TagBalanceReport>}

all hashtags balances of this query
Array.<Report.TagBalanceReport>

hasOnlyOneGroupBalance() → {boolean}

Check if report has only one group balance.
boolean