my $orderitems = $self->models->get;
$self->calc_qtys_price($orderitems);
- $self->report_generator_list_objects(report => $self->{report}, objects => $orderitems);
+ $self->setup_list_action_bar;
+ $self->report_generator_list_objects(report => $self->{report}, objects => $orderitems, action_bar => 1);
}
sub prepare_report {
}
}
-
-
+sub setup_list_action_bar {
+ my ($self, %params) = @_;
+
+ for my $bar ($::request->layout->get('actionbar')) {
+ $bar->add(
+ action => [
+ t8('Update'),
+ submit => [ '#filter_form', { action => 'DeliveryValueReport/list' } ],
+ accesskey => 'enter',
+ ],
+ );
+ }
+}
1;
</tr>
</table>
-[% L.hidden_tag('action', 'DeliveryValueReport/dispatch') %]
[% L.hidden_tag('sort_by', FORM.sort_by) %]
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
[% L.hidden_tag('page', FORM.page) %]
[% L.hidden_tag('vc', SELF.vc) %]
-[% L.input_tag('action_list', LxERP.t8('Continue'), type = 'submit', class='submit')%]
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
</div>