projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CVar: Dokumentation um Lieferadressen-CVars ergänzt
[kivitendo-erp.git]
/
SL
/
Common.pm
diff --git
a/SL/Common.pm
b/SL/Common.pm
index
bcaeb62
..
dfdf3c5
100644
(file)
--- a/
SL/Common.pm
+++ b/
SL/Common.pm
@@
-447,6
+447,13
@@
sub get_shipto_by_id {
map { $form->{"${prefix}${_}"} = $ref->{$_} } keys %{ $ref } if $ref;
map { $form->{"${prefix}${_}"} = $ref->{$_} } keys %{ $ref } if $ref;
+ my $cvars = CVar->get_custom_variables(
+ dbh => $dbh,
+ module => 'ShipTo',
+ trans_id => $shipto_id,
+ );
+ $form->{"${prefix}shiptocvar_$_->{name}"} = $_->{value} for @{ $cvars };
+
$dbh->disconnect();
$main::lxdebug->leave_sub();
$dbh->disconnect();
$main::lxdebug->leave_sub();