Revision 4a03aa4d
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
SL/Controller/LiquidityProjection.pm | ||
---|---|---|
32 | 32 |
buchungsgruppe => 1, |
33 | 33 |
}; |
34 | 34 |
|
35 |
$self->setup_show_action_bar; |
|
35 | 36 |
$self->render('liquidity_projection/show', title => t8('Liquidity projection')); |
36 | 37 |
} |
37 | 38 |
|
... | ... | |
78 | 79 |
$::locale->reformat_date({ dateformat => 'yyyy-mm-dd' }, $date, $::myconfig{dateformat}); |
79 | 80 |
} |
80 | 81 |
|
82 |
sub setup_show_action_bar { |
|
83 |
my ($self, %params) = @_; |
|
84 |
|
|
85 |
for my $bar ($::request->layout->get('actionbar')) { |
|
86 |
$bar->add( |
|
87 |
action => [ |
|
88 |
t8('Show'), |
|
89 |
submit => [ '#filter_form', { action => 'LiquidityProjection/show' } ], |
|
90 |
accesskey => 'enter', |
|
91 |
], |
|
92 |
); |
|
93 |
} |
|
94 |
} |
|
95 |
|
|
81 | 96 |
1; |
templates/webpages/liquidity_projection/_filter.html | ||
---|---|---|
1 | 1 |
[%- USE LxERP -%][%- USE L -%] |
2 | 2 |
|
3 |
<form method="post" action="controller.pl"> |
|
4 |
[% L.hidden_tag('action', 'LiquidityProjection/show') %] |
|
5 |
|
|
3 |
<form method="post" action="controller.pl" id="filter_form"> |
|
6 | 4 |
<table border="0"> |
7 | 5 |
<tr> |
8 | 6 |
<th align="right">[% LxERP.t8("Number of months") %]</th> |
... | ... | |
20 | 18 |
</td> |
21 | 19 |
</tr> |
22 | 20 |
</table> |
23 |
|
|
24 |
<p> |
|
25 |
[% L.submit_tag("dummy", LxERP.t8("Show")) %] |
|
26 |
</p> |
|
27 | 21 |
</form> |
Auch abrufbar als: Unified diff
ActionBar: Verwendung bei Liquiditätsübersicht