From 241a16d85141e515612770137383a2e56ec2dfd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Sun, 21 Nov 2021 23:50:19 +0100 Subject: [PATCH] DeliveryOrder: Beistelllieferschein im Einkauf --- SL/Controller/Order.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'), -- 2.20.1