From: Jan Büren Date: Tue, 22 Sep 2020 07:14:26 +0000 (+0200) Subject: Order-Controller E-Mail nur nach Speichern möglich X-Git-Tag: release-3.5.6.1~16 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=98d5d542e52b9c4b01a3c1f98ffa91a3df0b8f81;p=kivitendo-erp.git Order-Controller E-Mail nur nach Speichern möglich Hotfix um einen wirklich gesicherte $::form zu haben --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 12b9bae64..f3eed7c38 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -1885,6 +1885,7 @@ sub setup_edit_action_bar { action => [ t8('Save and E-mail'), call => [ 'kivi.Order.save', 'save_and_show_email_dialog', $::instance_conf->get_order_warn_duplicate_parts ], + disabled => !$self->order->id ? t8('This object has not been saved yet.') : undef, ], action => [ t8('Download attachments of all parts'),