X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FCommon.pm;h=dfdf3c5d4b35d3d8771a153d43a927624b5e5501;hb=c7241bf7c547d63999898dee7b5dd486e4d122d3;hp=bcaeb62c13f48795be25720f0f0df1a812e24cfe;hpb=978a03de40e5710c6ca346a3dafb93352ecc7775;p=kivitendo-erp.git diff --git a/SL/Common.pm b/SL/Common.pm index bcaeb62c1..dfdf3c5d4 100644 --- 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; + 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();