- my $assortment_part = SL::DB::Part->new_assortment( partnumber => 'as1',
- description => 'assortment',
- sellprice => '0',
- unit => $unit->name);
- my $assortment_1 = SL::DB::AssortmentItem->new( parts_id => $part1->id, qty => 3, unit => $part1->unit, position => 1);
- my $assortment_2 = SL::DB::AssortmentItem->new( parts_id => $part2->id, qty => 3, unit => $part2->unit, position => 2);
+ $assortment_part = SL::DB::Part->new_assortment( partnumber => 'as1',
+ description => 'assortment',
+ sellprice => '0',
+ unit => $unit->name);
+ $assortment_1 = SL::DB::AssortmentItem->new( parts_id => $part1->id, qty => 3, unit => $part1->unit, position => 1);
+ $assortment_2 = SL::DB::AssortmentItem->new( parts_id => $part2->id, qty => 3, unit => $part2->unit, position => 2);