The general ledger view offers a consistent UX for accessing the General Ledger.
It includes both the chart of accounts and the list of journal entries in a single experience.
import { GeneralLedgerView } from '@layerfi/components'
< GeneralLedgerView
showTags
showCustomerVendor
renderInAppLink = { convertLinkingMetadataToLink }
stringOverrides = { {
title: 'General Ledger' ,
} }
/>
Properties
Controls whether to display the title.
Controls whether tag columns are displayed in the Journal view.
Controls whether customer/vendor columns are displayed in the Journal view.
renderInAppLink
(source: LinkingMetadata) => ReactNode
Custom function for rendering in-app navigation links in the Chart of Accounts and Journal views. See the In-App Linking guide for details.
stringOverrides
GeneralLedgerStringOverrides
Show GeneralLedgerStringOverrides properties
Override for the page title. Defaults to 'General Ledger'.
chartOfAccountsToggleOption
Text for the chart of accounts toggle option. Defaults to 'Chart of Accounts'.
Text for the journal toggle option. Defaults to 'Journal'.
chartOfAccounts
ChartOfAccountsStringOverrides
String overrides specific to the chart of accounts component. See Chart of Accounts for available options. String overrides specific to the journal component. See Journal for available options.
Show ChartOfAccountsOptions properties
Controls whether template accounts can be edited. We recommend this only be true for advanced users.
Controls visibility of reversal entries.
Controls visibility of the add account button.