From: Moritz Bunkus Date: Fri, 19 Jan 2007 16:04:21 +0000 (+0000) Subject: Bugfix für einen meiner letzten Commits: Beim Anklicken von "Lieferadresse" blieb... X-Git-Tag: release-2.4.2~269 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=bfaef835c20ba69d5ea4242e67a0dcb4fcbd4f50;p=kivitendo-erp.git Bugfix für einen meiner letzten Commits: Beim Anklicken von "Lieferadresse" blieb die linke Seite (Rechnungsadresse) leer. --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 4f36c7818..372389b3d 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -2056,8 +2056,12 @@ sub ship_to { shiptocontact shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2); + my @addr_vars = + (qw(name department_1 department_2 street zipcode city country + contact email phone fax)); + # get details for name - &{"$form->{vc}_details"}(@shipto_vars); + &{"$form->{vc}_details"}(@addr_vars); $number = ($form->{vc} eq 'customer') @@ -2138,12 +2142,12 @@ sub ship_to { | . $locale->text('Phone') . qq| - $form->{"$form->{vc}phone"} + $form->{phone} | . $locale->text('Fax') . qq| - $form->{"$form->{vc}fax"} + $form->{fax}