Dev Part - Codeeinrückungen
authorG. Richardson <grichardson@kivitec.de>
Mon, 25 Feb 2019 11:25:56 +0000 (12:25 +0100)
committerG. Richardson <grichardson@kivitec.de>
Sat, 10 Aug 2019 14:42:10 +0000 (16:42 +0200)
SL/Dev/Part.pm

index 91759a9..967a1f7 100644 (file)
@@ -50,8 +50,8 @@ sub new_assembly {
   } else {
     for my $i ( 1 .. delete $params{number_of_parts} || 3) {
       my $part = new_part(partnumber  => "$base_partnumber $i",
-                             description => "Testpart $i",
-                            )->save;
+                          description => "Testpart $i",
+                         )->save;
       push( @{$assembly_items}, SL::DB::Assembly->new(parts_id => $part->id,
                                                       qty      => 1,
                                                       position => $i,
@@ -85,8 +85,8 @@ sub new_assortment {
   } else {
     for my $i ( 1 .. delete $params{number_of_parts} || 3) {
       my $part = new_part(partnumber  => "$base_partnumber $i",
-                             description => "Testpart $i",
-                            )->save;
+                          description => "Testpart $i",
+                         )->save;
       push( @{$assortment_items}, SL::DB::AssortmentItem->new(parts_id => $part->id,
                                                               qty      => 1,
                                                               position => $i,