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:
f46dfda
)
Wechselkurs im Zahlungsausgang
author
Niclas Zimmermann
<niclas@lx-office-hosting.de>
Tue, 18 Sep 2012 15:24:36 +0000
(17:24 +0200)
committer
Niclas Zimmermann
<niclas@lx-office-hosting.de>
Tue, 18 Sep 2012 15:24:36 +0000
(17:24 +0200)
Im Zahlungsausgang wurde die Eingabe eines Wechselkurses ignoriert.
bin/mozilla/cp.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/cp.pl
b/bin/mozilla/cp.pl
index
885c88e
..
a8caa52
100644
(file)
--- a/
bin/mozilla/cp.pl
+++ b/
bin/mozilla/cp.pl
@@
-346,6
+346,9
@@
sub update {
}
}
+ if (!$form->{forex}) { # read exchangerate from input field (not hidden)
+ $form->{exchangerate} = $form->parse_amount(\%myconfig, $form->{exchangerate});
+ }
$form->{forex} = $form->check_exchangerate( \%myconfig, $form->{currency}, $form->{datepaid}, $buysell);
$form->{exchangerate} = $form->{forex} if $form->{forex};