LedgerSMB Documentation

Description manuals and libraries
LedgerSMB Documentation > Perl Modules > LedgerSMB::Report::COA
Source

NAME

LedgerSMB::Report::COA - Chart of Accounts List for LedgerSMB

SYNPOSIS

  my $report = LedgerSMB::Report::COA->new(%$request);
  $report->render();

DESCRIPTION

This module provides a Chart of Account report for LedgerSMB. This account is useful regarding checking on current balances and managing the accounts. Typically columns are displayed based on the permissions of the user.

INHERITS

LedgerSMB::Report;

PROPERTIES

columns

Read-only accessor, returns a list of columns. Unless otherwise noted, each column is intended to be visible to all who have permissions to run the report.

accno

Displays the account number.

description

Account description.

gifi_accno

This is the GIFI account number.

debit_balance

This is the debit balance (or blank if none or balance is credit).

credit_balance

This is the credit balance (or blank if none or balance is debit)

This lists the link descriptions. Each represents a group of drop-downs the user has access to. This should be visible only to admin users.

edit

Link to edit the account. Should be visible only to admin users.

delete

Link to delete the account if it has no transactions. Should be visible only to admin users.

name

Returns the localized template name

METHODS

run_report()

Runs the report, and assigns rows to $self->rows.

set_buttons()

Returns a set of buttons to be displayed at the bottom of the report.

LICENSE AND COPYRIGHT

Copyright (C) 2012-2018 The LedgerSMB Core Team

This file is licensed under the GNU General Public License version 2, or at your option any later version. A copy of the license should have been included with your software.