From 9db40ab09e6cd8266db1817ccd16887480b757f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 15 May 2019 15:01:13 +0200 Subject: [PATCH] OrderController: Kosmetik --- 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 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() -- 2.20.1