X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/72589ebeb899e839f353eac75d3788be4b32ff39..a32fcad2cf3fabf15c9dd10ddc83ce703db66ad8:/SL/Controller/Order.pm 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'),