mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
- fix: store children accounts with Redux store.
- fix: store expense payment date with transactions. - fix: Total assets, liabilities and equity on balance sheet. - tweaks: dashboard content and sidebar style. - fix: reset form with contact list on journal entry form. - feat: Add hints to filter accounts in financial statements.
This commit is contained in:
62
server/src/data/BalanceSheetStructure.js
Normal file
62
server/src/data/BalanceSheetStructure.js
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
export default [
|
||||
{
|
||||
name: 'Assets',
|
||||
section_type: 'assets',
|
||||
type: 'section',
|
||||
children: [
|
||||
{
|
||||
name: 'Current Asset',
|
||||
type: 'section',
|
||||
_accounts_types_related: ['current_asset'],
|
||||
},
|
||||
{
|
||||
name: 'Fixed Asset',
|
||||
type: 'section',
|
||||
_accounts_types_related: ['fixed_asset'],
|
||||
},
|
||||
{
|
||||
name: 'Other Asset',
|
||||
type: 'section',
|
||||
_accounts_types_related: ['other_asset'],
|
||||
},
|
||||
],
|
||||
_forceShow: true,
|
||||
},
|
||||
{
|
||||
name: 'Liabilities and Equity',
|
||||
section_type: 'liabilities_equity',
|
||||
type: 'section',
|
||||
children: [
|
||||
{
|
||||
name: 'Liabilities',
|
||||
section_type: 'liability',
|
||||
type: 'section',
|
||||
children: [
|
||||
{
|
||||
name: 'Current Liability',
|
||||
type: 'section',
|
||||
_accounts_types_related: ['current_liability'],
|
||||
},
|
||||
{
|
||||
name: 'Long Term Liability',
|
||||
type: 'section',
|
||||
_accounts_types_related: ['long_term_liability'],
|
||||
},
|
||||
{
|
||||
name: 'Other Liability',
|
||||
type: 'section',
|
||||
_accounts_types_related: ['other_liability'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'Equity',
|
||||
section_type: 'equity',
|
||||
type: 'section',
|
||||
_accounts_types_related: ['equity'],
|
||||
},
|
||||
],
|
||||
_forceShow: true,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user