In $form->get_lists() alle Details für die Lieferadressen abholen.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 14 May 2007 14:00:05 +0000 (14:00 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 14 May 2007 14:00:05 +0000 (14:00 +0000)
SL/Form.pm

index 9b5f279..62be081 100644 (file)
@@ -1519,10 +1519,7 @@ sub _get_shipto {
   $key = "all_shipto" unless ($key);
 
   # get shipping addresses
-  my $query =
-    qq|SELECT shipto_id, shiptoname, shiptodepartment_1 | .
-    qq|FROM shipto | .
-    qq|WHERE trans_id = ?|;
+  my $query = qq|SELECT * FROM shipto WHERE trans_id = ?|;
 
   $self->{$key} = selectall_hashref_query($self, $dbh, $query, $vc_id);