X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FFinancialControllingReport.pm;h=7b392f184c492c7f47f87f786e932562f8ea56a2;hb=0a64ac3db8c430756ab6260399816714e44ec16d;hp=3dff1715817905abe465a9dcb4200c0218bd10cc;hpb=678e441cfd2bb20133660ff8ac505f6aa558d121;p=kivitendo-erp.git diff --git a/SL/Controller/FinancialControllingReport.pm b/SL/Controller/FinancialControllingReport.pm index 3dff17158..7b392f184 100644 --- a/SL/Controller/FinancialControllingReport.pm +++ b/SL/Controller/FinancialControllingReport.pm @@ -37,6 +37,7 @@ sub action_list { $self->calculate_data; + $self->setup_list_action_bar; $self->list_objects; } @@ -289,4 +290,18 @@ sub link_to { } } +sub setup_list_action_bar { + my ($self, %params) = @_; + + for my $bar ($::request->layout->get('actionbar')) { + $bar->add( + action => [ + t8('Update'), + submit => [ '#filter_form', { action => 'FinancialControllingReport/list' } ], + accesskey => 'enter', + ], + ); + } +} + 1;