From 0f862705f7b8ad4596786c6c243ae7b2e89a3843 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 2 Sep 2020 12:19:09 +0200 Subject: [PATCH] =?utf8?q?Auftrags-Controller:=20"Speichern=20und=20..."?= =?utf8?q?=20nicht=20ausgrauen,=20wenn=20nicht=20gespeichert=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit …, da vorher ohnehin gespeichert wird. --- SL/Controller/Order.pm | 2 -- 1 file changed, 2 deletions(-) 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'), -- 2.20.1