Revision dfc6a3b7
Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/financial_overview/report_top.html | ||
---|---|---|
2 | 2 |
[% USE LxERP %] |
3 | 3 |
|
4 | 4 |
<form method="post" id="form" action="controller.pl"> |
5 |
[% L.hidden_tag('action', 'FinancialOverview/list') %] |
|
6 |
<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("Prior year") %]: [% SELF.year - 1 %]</a> |
|
7 |
| |
|
8 | 5 |
|
9 |
[% LxERP.t8("Current year") %]: |
|
10 |
[% L.select_tag('year', YEARS_TO_LIST, default=SELF.year, onchange='$("#form").submit();') %] |
|
6 |
<div class="select-item control-panel"> |
|
7 |
[% L.hidden_tag('action', 'FinancialOverview/list') %] |
|
8 |
<div class="floating-boxes"> |
|
9 |
<div class="floating-box"> |
|
10 |
<a href="[% SELF.url_for(action='list', year=(SELF.year - 1), subtotals_per_quarter=SELF.subtotals_per_quarter, salesman_id=SELF.salesman_id) %]" class="button neutral" style="float: left;">« [% LxERP.t8("Prior year") %]: [% SELF.year - 1 %]</a> |
|
11 |
</div> |
|
12 |
<div class="floating-box"> |
|
13 |
<span class="label">[% LxERP.t8("Current year") %]</span> |
|
14 |
[% L.select_tag('year', YEARS_TO_LIST, default=SELF.year, onchange='$("#form").submit();', class='wi-verysmall') %] |
|
15 |
</div> |
|
16 |
[% IF SELF.year < (SELF.current_year + 5) %] |
|
17 |
<div class="floating-box"> |
|
18 |
<a href="[% SELF.url_for(action='list', year=(SELF.year + 1), subtotals_per_quarter=SELF.subtotals_per_quarter, salesman_id=SELF.salesman_id) %]" class="button neutral" style="float:left;">[% LxERP.t8("Following year") %]: [% SELF.year + 1 %] »</a> |
|
19 |
</div> |
|
20 |
[% END %] |
|
21 |
</div><!-- /.floating-boxes --> |
|
22 |
<div class="floating-boxes"> |
|
23 |
<div class="floating-box"> |
|
24 |
[% L.checkbox_tag('subtotals_per_quarter', checked=SELF.subtotals_per_quarter, label=LxERP.t8('Subtotals per quarter'), onchange='$("#form").submit();') %] |
|
25 |
</div> |
|
26 |
<div class="floating-box"> |
|
27 |
<span class="label">[% LxERP.t8("Salesperson") %]</span> [% L.select_tag('salesman_id', SELF.employees, with_empty=1, title_key='name', onchange='$("#form").submit();', default=SELF.salesman_id) %] |
|
28 |
</div> |
|
29 |
</div> |
|
11 | 30 |
|
12 |
[% IF SELF.year < (SELF.current_year + 5) %] |
|
13 |
| |
|
14 |
<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> |
|
15 |
[% END %] |
|
16 |
<br> |
|
17 | 31 |
|
18 |
[% L.checkbox_tag('subtotals_per_quarter', checked=SELF.subtotals_per_quarter, label=LxERP.t8('Subtotals per quarter'), onchange='$("#form").submit();') %] |
|
19 |
<br> |
|
32 |
</div><!-- /.select-item --> |
|
20 | 33 |
|
21 |
[% LxERP.t8("Salesperson") %]: |
|
22 |
[% L.select_tag('salesman_id', SELF.employees, with_empty=1, title_key='name', onchange='$("#form").submit();', default=SELF.salesman_id) %]</p> |
|
23 | 34 |
</form> |
24 |
<hr> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/financial_overview/report_top.html