+sub setup_search_update_prices_action_bar {
+ my ($self, %params) = @_;
+
+ for my $bar ($::request->layout->get('actionbar')) {
+ $bar->add(
+ action => [
+ t8('Continue'),
+ submit => [ '#form', { action => 'PartsPriceUpdate/confirm_price_update' } ],
+ accesskey => 'enter',
+ ],
+ );
+ }
+}
+
+sub setup_confirm_price_update_action_bar {
+ my ($self, %params) = @_;
+
+ for my $bar ($::request->layout->get('actionbar')) {
+ $bar->add(
+ action => [
+ t8('Continue'),
+ submit => [ '#form', { action => 'PartsPriceUpdate/update_prices' } ],
+ accesskey => 'enter',
+ ],
+
+ action => [
+ t8('Back'),
+ call => [ 'kivi.history_back' ],
+ ],
+ );
+ }
+}
+