my $orderitems = $self->models->get;
$self->calc_qtys($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);
}
# private functions
}
}
+sub setup_list_action_bar {
+ my ($self, %params) = @_;
+
+ for my $bar ($::request->layout->get('actionbar')) {
+ $bar->add(
+ action => [
+ t8('Update'),
+ submit => [ '#filter_form', { action => 'DeliveryPlan/list' } ],
+ accesskey => 'enter',
+ ],
+ );
+ }
+}
+
1;
</tr>
</table>
-[% L.hidden_tag('action', 'DeliveryPlan/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.hidden_tag('mode', SELF.mode) %]
-[% L.input_tag('action_list', LxERP.t8('Continue'), type = 'submit', class='submit')%]
-
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
</div>