projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c04c84
)
Im Druck auch den Typ von Artikeln mit ausliefern
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 29 Oct 2012 13:55:08 +0000
(14:55 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 23 Jun 2014 11:31:12 +0000
(13:31 +0200)
SL/IC.pm
patch
|
blob
|
history
diff --git
a/SL/IC.pm
b/SL/IC.pm
index
191a2d3
..
163f590
100644
(file)
--- a/
SL/IC.pm
+++ b/
SL/IC.pm
@@
-1698,6
+1698,16
@@
sub prepare_parts_for_printing {
}
}
+ my $parts = SL::DB::Manager::Part->get_all(query => [ id => \@part_ids ]);
+ my %parts_by_id = map { $_->id => $_ } @$parts;
+
+ for my $i (1..$rowcount) {
+ my $id = $form->{"${prefix}${i}"};
+ next unless $id;
+
+ push @{ $form->{TEMPLATE_ARRAYS}{part_type} }, $parts_by_id{$id}->type;
+ }
+
$main::lxdebug->leave_sub();
}