]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Anzeige von weiteren Details in den Lieferadressendropdownboxen: Name, Abteilung...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 14 May 2007 14:02:08 +0000 (14:02 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 14 May 2007 14:02:08 +0000 (14:02 +0000)
bin/mozilla/is.pl
bin/mozilla/oe.pl

index 77ae22c8b1761180fcf2434c4aeeb56fa43fb3d8..7d3be25c3c5a53e99849e2aae74d0d157eb1050c 100644 (file)
@@ -392,8 +392,7 @@ sub form_header {
   @values = ("");
   foreach my $item (@{ $form->{"ALL_SHIPTO"} }) {
     push(@values, $item->{"shipto_id"});
   @values = ("");
   foreach my $item (@{ $form->{"ALL_SHIPTO"} }) {
     push(@values, $item->{"shipto_id"});
-    $labels{$item->{"shipto_id"}} =
-      $item->{"shiptoname"} . " " . $item->{"shiptodepartment_1"};
+    $labels{$item->{"shipto_id"}} = join "; ", grep { $_ } map { $item->{"shipto${_}" } } qw(name department_1 street city);
   }
 
   my $shipto;
   }
 
   my $shipto;
index cfbb216addf9ca53d594189252df2fa77a118313..ce468b511f607702f83c63f3e18f25f1b10c2bdb 100644 (file)
@@ -463,8 +463,7 @@ sub form_header {
   @values = ("");
   foreach my $item (@{ $form->{"ALL_SHIPTO"} }) {
     push(@values, $item->{"shipto_id"});
   @values = ("");
   foreach my $item (@{ $form->{"ALL_SHIPTO"} }) {
     push(@values, $item->{"shipto_id"});
-    $labels{$item->{"shipto_id"}} =
-      $item->{"shiptoname"} . " " . $item->{"shiptodepartment_1"};
+    $labels{$item->{"shipto_id"}} = join "; ", grep { $_ } map { $item->{"shipto${_}" } } qw(name department_1 street city);
   }
 
   my $shipto;
   }
 
   my $shipto;