From: Moritz Bunkus Date: Mon, 4 Feb 2008 17:14:47 +0000 (+0000) Subject: Kontakte sortiert ausgeben. X-Git-Tag: release-2.6.0beta1~248 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0631ab0eb9cacdcd7cff6ba46a3f3ba3be243026;p=kivitendo-erp.git Kontakte sortiert ausgeben. --- diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index 76d9fb71f..7c15fd7b4 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -267,7 +267,7 @@ sub form_header { $form->{is_customer} = $form->{db} eq 'customer'; $form->{salesman_label} = sub { $_[0]->{name} ne "" ? $_[0]->{name} : $_[0]->{login} }; $form->{shipto_label} = sub { "$_[0]->{shiptoname} $_[0]->{shiptodepartment_1}" }; - $form->{contacts_label} = sub { "$_[0]->{cp_givenname} $_[0]->{cp_name}" }; + $form->{contacts_label} = sub { join ", ", grep { $_ } $_[0]->{cp_name}, $_[0]->{cp_givenname} }; $form->{taxzone_id} = 0 if !$form->{id}; $form->{jsscript} = 1; $form->{fokus} = "ct.greeting";