$self->calculate_data;
+ $self->setup_list_action_bar;
$self->list_objects;
}
$data->{$_}->{data} = $::form->format_amount(\%::myconfig, $data->{$_}->{data}, 2) for grep { !m/_p$/ } @{ $self->{number_columns} };
};
- return $self->report_generator_list_objects(report => $self->{report}, objects => $self->orders, data_callback => $modify_data);
+ return $self->report_generator_list_objects(report => $self->{report}, objects => $self->orders, data_callback => $modify_data, action_bar => 1);
}
sub make_filter_summary {
}
}
+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;
</tr>
</table>
-[% L.hidden_tag('action', 'FinancialControllingReport/dispatch') %]
[% L.hidden_tag('sort_by', FORM.sort_by) %]
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
[% L.hidden_tag('page', FORM.page) %]
-[% L.input_tag('action_list', LxERP.t8('Continue'), type = 'submit', class='submit')%]
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
-
</div>
</form>