X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/ae7dfc514a78de6651ee1fd25bb1c8db5605e648..713a6d703c0b2806f6a1f8fafa6bc9b6554c4087:/SL/IR.pm diff --git a/SL/IR.pm b/SL/IR.pm index 6950739b0..8fa92e637 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -1108,6 +1108,11 @@ sub vendor_details { map { $form->{$_} = $ref->{$_} } keys %$ref; + my $custom_variables = CVar->get_custom_variables('dbh' => $dbh, + 'module' => 'CT', + 'trans_id' => $form->{vendor_id}); + map { $form->{"vc_cvar_$_->{name}"} = $_->{value} } @{ $custom_variables }; + $dbh->disconnect(); $main::lxdebug->leave_sub();