From a6b1f97a0c7a9a5c489aa24d1d91bca332f2b500 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 13 Dec 2006 13:36:55 +0000 Subject: [PATCH] Nach dem Auslesen eines Artikels aus der Datenbank sollte in den Masken die Einheit des Artikels vorbelegt werden, und nicht kg. --- bin/mozilla/ir.pl | 2 -- bin/mozilla/is.pl | 2 -- bin/mozilla/oe.pl | 2 -- 3 files changed, 6 deletions(-) diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 6038276b6..1d3e1a248 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -831,8 +831,6 @@ sub update { } else { - $form->{"selected_unit_$i"} = $form->{"unit_$i"}; - IR->retrieve_item(\%myconfig, \%$form); my $rows = scalar @{ $form->{item_list} }; diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index db2d4b43e..df3062f81 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -1207,8 +1207,6 @@ sub update { } else { - $form->{"selected_unit_$i"} = $form->{"unit_$i"}; - IS->retrieve_item(\%myconfig, \%$form); $rows = scalar @{ $form->{item_list} }; diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 2ceecc16c..9678b56e7 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -1173,8 +1173,6 @@ sub update { } else { - $form->{"selected_unit_$i"} = $form->{"unit_$i"}; - if ( $form->{type} eq 'purchase_order' || $form->{type} eq 'request_quotation') { IR->retrieve_item(\%myconfig, \%$form); -- 2.20.1