mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat: journal and general ledger report.
This commit is contained in:
@@ -184,7 +184,7 @@ export default class BalanceSheetStatement extends FinancialSheet {
|
||||
const filteredAccounts = accounts
|
||||
// Filter accounts that associated to the section accounts types.
|
||||
.filter(
|
||||
(account) => sectionAccountsTypes.indexOf(account.type.childType) !== -1
|
||||
(account) => sectionAccountsTypes.indexOf(account.type.key) !== -1
|
||||
)
|
||||
.map((account) => this.balanceSheetAccountMapper(account))
|
||||
// Filter accounts that have no transaction when `noneTransactions` is on.
|
||||
@@ -258,7 +258,7 @@ export default class BalanceSheetStatement extends FinancialSheet {
|
||||
type: structure.type,
|
||||
...(structure.type === 'accounts_section'
|
||||
? this.structureRelatedAccountsMapper(
|
||||
structure.accountsTypesRelated,
|
||||
structure.accountsTypes,
|
||||
accounts
|
||||
)
|
||||
: this.structureSectionMapper(structure, accounts)),
|
||||
|
||||
Reference in New Issue
Block a user