From: Holger Lindemann Date: Fri, 24 Nov 2006 16:47:37 +0000 (+0000) Subject: Sichern von abweichenden Lieferanschiften: X-Git-Tag: release-2.4.0^2~170 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3db6a6d9cb7e46bc2c1e88d01c55a07193208053;p=kivitendo-erp.git Sichern von abweichenden Lieferanschiften: Kunden ohne trans_id, Lieferanten ohne 'CT', mehrfaches speichern der gleichen Anschrift shiptodepartment_1 in die Auswahlbox mit übernommen, breite der Selectbox "shipto" und "konto" fixiert Konflikt mit CRM --- 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} .= - ""; + ""; } }