projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccde19f
)
Preisfaktoren in Erzeugnissen auch im globalen Verkaufspreis richtig übernehmen.
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 14 May 2009 16:20:38 +0000
(16:20 +0000)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 14 May 2009 16:20:38 +0000
(16:20 +0000)
bin/mozilla/io.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/io.pl
b/bin/mozilla/io.pl
index
6b4888b
..
18d2f4f
100644
(file)
--- 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++;
}
}