From: Bernd Bleßmann Date: Wed, 2 Sep 2020 10:19:09 +0000 (+0200) Subject: Auftrags-Controller: "Speichern und ..." nicht ausgrauen, wenn nicht gespeichert… X-Git-Tag: release-3.5.6.1~42 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0f862705f7b8ad4596786c6c243ae7b2e89a3843;p=kivitendo-erp.git Auftrags-Controller: "Speichern und ..." nicht ausgrauen, wenn nicht gespeichert… …, da vorher ohnehin gespeichert wird. --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 3dcf56f69..fc05b2d16 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -1822,13 +1822,11 @@ sub setup_edit_action_bar { t8('Save and Sales Order'), submit => [ '#order_form', { action => "Order/sales_order" } ], only_if => (any { $self->type eq $_ } (sales_quotation_type(), purchase_order_type())), - disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef, ], action => [ t8('Save and Purchase Order'), submit => [ '#order_form', { action => "Order/purchase_order" } ], only_if => (any { $self->type eq $_ } (sales_order_type(), request_quotation_type())), - disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef, ], action => [ t8('Save and Delivery Order'),