- }
-
- for my $bar ($::request->layout->get('actionbar')) {
- $bar->add(
- combobox => [
- action => [
- t8('more')
- ],
- action => [
- t8('History'),
- call => [ 'set_history_window', $self->order->id, 'id' ],
- disabled => !$self->order->id ? t8('This record has not been saved yet.') : undef,
- ],
- action => [
- t8('Follow-Up'),
- call => [ 'kivi.Order.follow_up_window' ],
- disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef,
- only_if => $::auth->assert('productivity', 1),
- ],
- ], # end of combobox "more"
- );
- }
-