From cac65c52954be692d086e2af17fd2a079f361ab5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 12 Dec 2006 16:29:44 +0000 Subject: [PATCH] =?utf8?q?Bei=20der=20Eingabe=20von=20Lieferadressen=20aus?= =?utf8?q?=20den=20Verkaufsmasken=20heraus=20k=C3=B6nnen=20auch=20die=20be?= =?utf8?q?iden=20Felder=20f=C3=BCr=20die=20Abteilungen=20angegeben=20werde?= =?utf8?q?n.=20Fix=20f=C3=BCr=20Bugzilla=20#397.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/io.pl | 12 +++++++++++- bin/mozilla/oe.pl | 11 +++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 7643f14f1..1cf2d9c7b 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -2012,6 +2012,16 @@ sub ship_to { $form->{name} + + | . $locale->text('Department') . qq| + $form->{department_1} + + + +   + $form->{department_2} + + | . $locale->text('Street') . qq| $form->{street} @@ -2062,7 +2072,7 @@ sub ship_to { # delete shipto map { delete $form->{$_} } - qw(shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptoemail header); + qw(shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2 header); $form->{title} = $title; foreach $key (keys %$form) { diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index cfd55a404..91f422fa9 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -288,8 +288,6 @@ sub prepare_order { $form->{media} = "screen"; $form->{formname} = $form->{type} unless $form->{formname}; - map { $form->{$_} =~ s/\"/"/g } - qw(ordnumber quonumber shippingpoint shipvia notes intnotes shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact); my $i = 0; foreach $ref (@{ $form->{form_details} }) { $form->{rowcount} = ++$i; @@ -334,6 +332,11 @@ sub form_header { $checkedopen = ($form->{closed}) ? "" : "checked"; $checkedclosed = ($form->{closed}) ? "checked" : ""; + map { $form->{$_} =~ s/\"/"/g } + qw(ordnumber quonumber shippingpoint shipvia notes intnotes shiptoname + shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact + shiptophone shiptofax shiptodepartment_1 shiptodepartment_2); + # use JavaScript Calendar or not $form->{jsscript} = $form->{jscalendar}; $jsscript = ""; @@ -830,6 +833,8 @@ $jsscript + + @@ -2691,6 +2696,8 @@ sub display_ship_receive { + + -- 2.20.1