From bbbe79aac4c9461fc18fa71e4e52785382e7f54d Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Mon, 25 Feb 2019 12:25:56 +0100 Subject: [PATCH] =?utf8?q?Dev=20Part=20-=20Codeeinr=C3=BCckungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Dev/Part.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SL/Dev/Part.pm b/SL/Dev/Part.pm index 91759a91a..967a1f75b 100644 --- a/SL/Dev/Part.pm +++ b/SL/Dev/Part.pm @@ -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, -- 2.20.1