X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f46dfda018cac3aeaa549d678ad036d0cfff2e6d..3b9aee06c8b0246729a9ecabe642739304da95e2:/bin/mozilla/cp.pl diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index 885c88e62..a8caa526b 100644 --- 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};