From 3db6a6d9cb7e46bc2c1e88d01c55a07193208053 Mon Sep 17 00:00:00 2001 From: Holger Lindemann Date: Fri, 24 Nov 2006 16:47:37 +0000 Subject: [PATCH] Sichern von abweichenden Lieferanschiften: Kunden ohne trans_id, Lieferanten ohne 'CT', mehrfaches speichern der gleichen Anschrift MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit shiptodepartment_1 in die Auswahlbox mit übernommen, breite der Selectbox "shipto" und "konto" fixiert Konflikt mit CRM --- bin/mozilla/ct.pl | 7 ++++--- bin/mozilla/is.pl | 10 +++++----- bin/mozilla/oe.pl | 6 +++--- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index 2db7ce5b7..33267a18b 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -895,12 +895,12 @@ sub form_header { $form->{selectshipto} = ""; if (@{ $form->{SHIPTO} }) { foreach $item (@{ $form->{SHIPTO} }) { - if ($item->{id} == $form->{shipto_id}) { + if ($item->{shipto_id} == $form->{shipto_id}) { $form->{selectshipto} .= - ""; foreach $item (@{ $form->{SHIPTO} }) { - if ($item->{id} == $form->{shipto_id}) { + if ($item->{shipto_id} == $form->{shipto_id}) { $form->{selectshipto} .= - ""; + ""; } else { $form->{selectshipto} .= - ""; + ""; } } @@ -373,7 +373,7 @@ sub form_header { $shipto = qq| | . $locale->text('Shipping Address') . qq| - + |; @@ -659,7 +659,7 @@ sub form_header { $dunning | . $locale->text('Record in') . qq| - + $taxzone diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index e82e63ae1..20042ca75 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -423,12 +423,12 @@ sub form_header { if (@{ $form->{SHIPTO} }) { $form->{selectshipto} = ""; foreach $item (@{ $form->{SHIPTO} }) { - if ($item->{id} == $form->{shipto_id}) { + if ($item->{shipto_id} == $form->{shipto_id}) { $form->{selectshipto} .= - ""; + ""; } else { $form->{selectshipto} .= - ""; + ""; } } -- 2.20.1