From: Sven Schöling Date: Sun, 21 Nov 2021 22:50:19 +0000 (+0100) Subject: DeliveryOrder: Beistelllieferschein im Einkauf X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~216^2~51 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=241a16d85141e515612770137383a2e56ec2dfd2;p=kivitendo-erp.git DeliveryOrder: Beistelllieferschein im Einkauf --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 524d9045b..d605f666e 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -2083,7 +2083,7 @@ sub setup_edit_action_bar { checks => [ 'kivi.Order.check_save_active_periodic_invoices', @req_trans_cost_art, @req_cusordnumber, ], - only_if => (any { $self->type eq $_ } (sales_order_type())) + only_if => (any { $self->type eq $_ } (purchase_order_type())) ], action => [ t8('Save and Invoice'),