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:
97de2c3
)
Verwendung von benutzerdefinierten Variablen fÃŒr Waren/Dienstleistungen/Erzegunisse...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 2 Jul 2009 15:19:32 +0000
(17:19 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 2 Jul 2009 15:19:32 +0000
(17:19 +0200)
SL/IR.pm
patch
|
blob
|
history
diff --git
a/SL/IR.pm
b/SL/IR.pm
index
02b2fa6
..
a3011ae
100644
(file)
--- a/
SL/IR.pm
+++ b/
SL/IR.pm
@@
-1097,6
+1097,16
@@
sub retrieve_item {
}
$sth->finish();
+
+ foreach my $item (@{ $form->{item_list} }) {
+ my $custom_variables = CVar->get_custom_variables(module => 'IC',
+ trans_id => $item->{id},
+ dbh => $dbh,
+ );
+
+ map { $item->{"ic_cvar_" . $_->{name} } = $_->{value} } @{ $custom_variables };
+ }
+
$dbh->disconnect();
$main::lxdebug->leave_sub();