class Skr.Screens.ChartOfAccounts extends Skr.Screens.Base modelForAccess: 'gl-transaction' dataObjects: query: -> new Lanes.Models.Query title: 'Lines', src: Skr.Models.GlAccount syncOptions: {with: 'with_balances'} fields: [ { id:'id', visible: false } { id: 'number', label: 'Acct #', fixedWidth: 120 } 'description' { id: 'balance', fixedWidth: 120, textAlign: 'right' format: Lanes.u.format.currency } ] reload: -> @query.results.reload() onRowClick: (account) -> Lanes.Screens.Definitions.all.get('gl-transactions') .display(props: {account: account}) render: ->

Chart of Accounts

Click row to review transactions Reload