From bfa7bf60b133969eb754d4506485c7132711f43f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 14 May 2009 16:20:38 +0000 Subject: [PATCH] =?utf8?q?Preisfaktoren=20in=20Erzeugnissen=20auch=20im=20?= =?utf8?q?globalen=20Verkaufspreis=20richtig=20=C3=BCbernehmen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/io.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 6b4888b31..18d2f4f28 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -708,8 +708,8 @@ sub check_form { #($form->{"sellprice_$i"},$form->{"$pricegroup_old_$i"}) = split /--/, $form->{"sellprice_$i"}; - $form->{sellprice} += ($form->{"qty_$i"} * $form->{"sellprice_$i"}); - $form->{weight} += ($form->{"qty_$i"} * $form->{"weight_$i"}); + $form->{sellprice} += ($form->{"qty_$i"} * $form->{"sellprice_$i"} / ($form->{"price_factor_$i"} || 1)); + $form->{weight} += ($form->{"qty_$i"} * $form->{"weight_$i"} / ($form->{"price_factor_$i"} || 1)); $count++; } } -- 2.20.1