Revision ab98131d
Von Moritz Bunkus vor fast 10 Jahren hinzugefügt
SL/Controller/FinancialOverview.pm | ||
---|---|---|
61 | 61 |
std_column_visibility => 1, |
62 | 62 |
controller_class => 'FinancialOverview', |
63 | 63 |
output_format => 'HTML', |
64 |
raw_top_info_text => $self->render('financial_overview/report_top', { output => 0 }, YEARS_TO_LIST => [ reverse(2000..$self->current_year) ]),
|
|
64 |
raw_top_info_text => $self->render('financial_overview/report_top', { output => 0 }, YEARS_TO_LIST => [ reverse(($self->current_year - 10)..($self->current_year + 5)) ]),
|
|
65 | 65 |
title => t8('Financial overview for #1', $self->year), |
66 | 66 |
allow_pdf_export => 1, |
67 | 67 |
allow_csv_export => 1, |
templates/webpages/financial_overview/report_top.html | ||
---|---|---|
7 | 7 |
[% LxERP.t8("Current year") %]: |
8 | 8 |
[% L.select_tag('year', YEARS_TO_LIST, default=SELF.year, onchange='$("#form").submit();') %] |
9 | 9 |
|
10 |
[% IF SELF.year < SELF.current_year %]
|
|
10 |
[% IF SELF.year < (SELF.current_year + 5) %]
|
|
11 | 11 |
| |
12 | 12 |
<a href="[% SELF.url_for(action='list', year=(SELF.year + 1), subtotals_per_quarter=SELF.subtotals_per_quarter, salesman_id=SELF.salesman_id) %]">[%- LxERP.t8("Following year") %]: [% SELF.year + 1 %] »</a> |
13 | 13 |
[% END %] |
Auch abrufbar als: Unified diff
Finanzübersicht: auch zukünftige Jahre auswählen können