Revision 5829f093
Von Cem Aydin vor etwa 1 Jahr hinzugefügt
SL/Controller/ChartOfAccounts.pm | ||
---|---|---|
110 | 110 |
} |
111 | 111 |
|
112 | 112 |
1; |
113 |
|
|
114 |
__END__ |
|
115 |
|
|
116 |
=encoding utf-8 |
|
117 |
|
|
118 |
=head1 NAME |
|
119 |
|
|
120 |
SL::Controller::ChartOfAccounts - Controller for the chart of accounts report |
|
121 |
|
|
122 |
=head1 SYNOPSIS |
|
123 |
|
|
124 |
New controller for Reports -> Chart of Accounts. |
|
125 |
|
|
126 |
This replaces the old bin/mozilla/ca.pl chart_of_accounts sub. |
|
127 |
|
|
128 |
The rest of the functions from ca.pl are separated into the new ListTransactions.pm |
|
129 |
controller. |
|
130 |
|
|
131 |
=head1 DESCRIPTION |
|
132 |
|
|
133 |
Displays a list of all accounts with their balance. |
|
134 |
|
|
135 |
Clicking on an account number will open the form for Reports -> List Transactions, with |
|
136 |
the account number preselected. |
|
137 |
|
|
138 |
Export to PDF, CSV and Chart is possible. |
|
139 |
|
|
140 |
=head1 CAVEATS / TODO |
|
141 |
|
|
142 |
Database queries are still from SL::CA. |
|
143 |
|
|
144 |
I tried to use the get_balance function from SL::DB::Manager::Chart here, |
|
145 |
but the results i got were different (numbers and defined balance/amount). |
|
146 |
The database queries in CA are more sophisticated, therefore i'm still using these for now. |
|
147 |
Also performance wise they seem faster. |
|
148 |
|
|
149 |
=head1 BUGS |
|
150 |
|
|
151 |
None yet. |
|
152 |
|
|
153 |
=head1 AUTHOR |
|
154 |
|
|
155 |
Cem Aydin E<lt>cem.aydin@revamp-it.chE<gt> |
|
156 |
|
|
157 |
=cut |
Auch abrufbar als: Unified diff
POD für ChartOfAccounts und ListTransactions Controller hinzugefügt