feat: always show some sections in balance sheet.

This commit is contained in:
a.bouhuolia
2021-01-11 11:21:32 +02:00
parent 8491d44118
commit 80e51cd2f7
9 changed files with 172 additions and 121 deletions

View File

@@ -9,20 +9,20 @@ const balanceSheetStructure: IBalanceSheetStructureSection[] = [
{
name: 'Current Asset',
type: 'accounts_section',
_accountsTypesRelated: ['current_asset'],
accountsTypesRelated: ['current_asset'],
},
{
name: 'Fixed Asset',
type: 'accounts_section',
_accountsTypesRelated: ['fixed_asset'],
accountsTypesRelated: ['fixed_asset'],
},
{
name: 'Other Asset',
type: 'accounts_section',
_accountsTypesRelated: ['other_asset'],
accountsTypesRelated: ['other_asset'],
},
],
_forceShow: true,
alwaysShow: true,
},
{
name: 'Liabilities and Equity',
@@ -37,17 +37,17 @@ const balanceSheetStructure: IBalanceSheetStructureSection[] = [
{
name: 'Current Liability',
type: 'accounts_section',
_accountsTypesRelated: ['current_liability'],
accountsTypesRelated: ['current_liability'],
},
{
name: 'Long Term Liability',
type: 'accounts_section',
_accountsTypesRelated: ['long_term_liability'],
accountsTypesRelated: ['long_term_liability'],
},
{
name: 'Other Liability',
type: 'accounts_section',
_accountsTypesRelated: ['other_liability'],
accountsTypesRelated: ['other_liability'],
},
],
},
@@ -55,10 +55,10 @@ const balanceSheetStructure: IBalanceSheetStructureSection[] = [
name: 'Equity',
sectionType: 'equity',
type: 'accounts_section',
_accountsTypesRelated: ['equity'],
accountsTypesRelated: ['equity'],
},
],
_forceShow: true,
alwaysShow: true,
},
];