buchungsgruppe => 1,
};
+ $self->setup_show_action_bar;
$self->render('liquidity_projection/show', title => t8('Liquidity projection'));
}
$::locale->reformat_date({ dateformat => 'yyyy-mm-dd' }, $date, $::myconfig{dateformat});
}
+sub setup_show_action_bar {
+ my ($self, %params) = @_;
+
+ for my $bar ($::request->layout->get('actionbar')) {
+ $bar->add(
+ action => [
+ t8('Show'),
+ submit => [ '#filter_form', { action => 'LiquidityProjection/show' } ],
+ accesskey => 'enter',
+ ],
+ );
+ }
+}
+
1;
[%- USE LxERP -%][%- USE L -%]
-<form method="post" action="controller.pl">
- [% L.hidden_tag('action', 'LiquidityProjection/show') %]
-
+<form method="post" action="controller.pl" id="filter_form">
<table border="0">
<tr>
<th align="right">[% LxERP.t8("Number of months") %]</th>
</td>
</tr>
</table>
-
- <p>
- [% L.submit_tag("dummy", LxERP.t8("Show")) %]
- </p>
</form>