OrderController: Kosmetik
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 15 May 2019 13:01:13 +0000 (15:01 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 15 May 2019 13:01:13 +0000 (15:01 +0200)
SL/Controller/Order.pm

index 5a42a19..86ccb72 100644 (file)
@@ -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()