]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Common.pm
restart apache2 in postinst
[mfinanz.git] / SL / Common.pm
index 126a30ed846d45cabca592b5b2306c762c09c9db..3b2df5bc9661073f0b417a05321215c0c4b4a42d 100644 (file)
@@ -340,7 +340,7 @@ sub get_vc_details {
 
   map { $form->{$_} = $form->format_amount($myconfig, $form->{$_} * 1) } qw(discount creditlimit);
 
-  $query = qq|SELECT * FROM shipto WHERE (trans_id = ?)|;
+  $query = qq|SELECT * FROM shipto WHERE (trans_id = ?) AND module LIKE 'CT'|;
   $form->{SHIPTO} = selectall_hashref_query($form, $dbh, $query, $vc_id);
 
   if ($vc eq 'customer') {