X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6bdcd83826c0cf1d86450bc205c00864d8a0c403..9db40ab09e6cd8266db1817ccd16887480b757f6:/SL/Controller/Order.pm?ds=inline 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()