From: Jan Büren Date: Thu, 31 Mar 2022 08:35:06 +0000 (+0200) Subject: Zuviel in b24afac71c944 entfernt. Historie und Wiedervorlage wieder anzeigen X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~74 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0ca7f6f9d4603bb146c2c653a6edb73d70f609d5;p=kivitendo-erp.git Zuviel in b24afac71c944 entfernt. Historie und Wiedervorlage wieder anzeigen Historie ist nur lesend im Zugriff und Wiedervorlagen zu schreibgeschützten Belegen zu erstellen, wenn das Recht productivity vergeben ist, find ich i.O. --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 39b3c0128..af7858a5d 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -2226,6 +2226,22 @@ sub setup_edit_action_bar { 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" ); } }