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:
4b1c761
)
Vermeidung von "durch 0 Teilen" anstatt von "wenn's passiert, dann laut pfeifen und...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 15 Feb 2007 13:37:05 +0000
(13:37 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 15 Feb 2007 13:37:05 +0000
(13:37 +0000)
bin/mozilla/rp.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/rp.pl
b/bin/mozilla/rp.pl
index
47d6d4b
..
fef3355
100644
(file)
--- a/
bin/mozilla/rp.pl
+++ b/
bin/mozilla/rp.pl
@@
-2127,10
+2127,10
@@
sub statement_details {
push @{ $form->{duedate} }, $ref->{duedate};
foreach $item (qw(c0 c30 c60 c90)) {
-
eval
{
+
if ($ref->{exchangerate} * 1)
{
$ref->{$item} =
$form->round_amount($ref->{$item} / $ref->{exchangerate}, 2);
- }
;
+ }
$form->{"${item}total"} += $ref->{$item};
$form->{total} += $ref->{$item};
push @{ $form->{$item} },