Historie ist nur lesend im Zugriff und Wiedervorlagen zu
schreibgeschützten Belegen zu erstellen, wenn das Recht productivity
vergeben ist, find ich i.O.
only_if => $deletion_allowed,
],
+ 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"
);
}
}