projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BUG-Fix: Berechnung des prozentualen Ertrags geƤndert.
[kivitendo-erp.git]
/
bin
/
mozilla
/
io.pl
diff --git
a/bin/mozilla/io.pl
b/bin/mozilla/io.pl
index
b288291
..
86813c9
100644
(file)
--- a/
bin/mozilla/io.pl
+++ b/
bin/mozilla/io.pl
@@
-493,7
+493,7
@@
sub display_row {
HEADER => \@HEADER,
});
- if (
0 != ($form->{sellprice_total} * 1)
) {
+ if (
abs($form->{sellprice_total} * 1) >= 0.01
) {
$form->{marge_percent} = ($form->{sellprice_total} - $form->{lastcost_total}) / $form->{sellprice_total} * 100;
}