part_type wieder Typbeschreibung wie in DB
authorMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Fri, 27 Jan 2017 15:35:14 +0000 (16:35 +0100)
committerMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Fri, 27 Jan 2017 15:35:14 +0000 (16:35 +0100)
SL/IC.pm

index 310961b..bae6354 100644 (file)
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -916,7 +916,7 @@ sub prepare_parts_for_printing {
     next unless $id;
     my $prt = $parts_by_id{$id};
     my $type_abbr = $::request->presenter->type_abbreviation($prt->part_type);
-    push @{ $template_arrays{part_type} }, $type_abbr;
+    push @{ $template_arrays{part_abbreviation} }, $type_abbr;
     push @{ $template_arrays{type_and_classific}},  $type_abbr.$::request->presenter->classification_abbreviation($prt->classification_id);
     push @{ $template_arrays{separate}  },  $::request->presenter->separate_abbreviation($prt->classification_id);
   }