indentations
authorJan Büren <jan@kivitendo-premium.de>
Mon, 30 Nov 2015 13:11:10 +0000 (14:11 +0100)
committerJan Büren <jan@kivitendo-premium.de>
Mon, 30 Nov 2015 13:11:10 +0000 (14:11 +0100)
SL/DO.pm

index 91d896d..7db0910 100644 (file)
--- a/SL/DO.pm
+++ b/SL/DO.pm
@@ -390,9 +390,9 @@ SQL
         do_query($form, $dbh, $query, conv_i($sinfo->{"delivery_order_items_stock_id"}),
                   conv_i($form->{"delivery_order_items_id_$i"}), $sinfo->{qty}, $sinfo->{unit}, conv_i($sinfo->{warehouse_id}),
                   conv_i($sinfo->{bin_id}));
-       $h_item_stock_id->finish();
-      # write back the id to the form (important if only transfer was clicked (id fk for invoice)
-      $form->{"stock_${in_out}_$i"} = YAML::Dump($stock_info);
+        $h_item_stock_id->finish();
+        # write back the id to the form (important if only transfer was clicked (id fk for invoice)
+        $form->{"stock_${in_out}_$i"} = YAML::Dump($stock_info);
       }
       @values = ($form->{"delivery_order_items_id_$i"}, $sinfo->{qty}, $sinfo->{unit}, conv_i($sinfo->{warehouse_id}),
                  conv_i($sinfo->{bin_id}), $sinfo->{chargenumber}, conv_date($sinfo->{bestbefore}),