From: Bernd Bleßmann Date: Wed, 15 May 2019 13:01:13 +0000 (+0200) Subject: OrderController: Kosmetik X-Git-Tag: release-3.5.4~69 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9db40ab09e6cd8266db1817ccd16887480b757f6;p=kivitendo-erp.git OrderController: Kosmetik --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 5a42a195c..86ccb7297 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -1477,6 +1477,7 @@ sub save { sub workflow_sales_or_purchase_order { my ($self) = @_; + # always save my $errors = $self->save(); @@ -1485,7 +1486,6 @@ sub workflow_sales_or_purchase_order { return $self->js->render(); } - my $destination_type = $::form->{type} eq sales_quotation_type() ? sales_order_type() : $::form->{type} eq request_quotation_type() ? purchase_order_type() : $::form->{type} eq purchase_order_type() ? sales_order_type()