X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fcp.pl;h=a8caa526b1f1d3eda12614bd57f9f2b94a730197;hb=5f3f953a9ccd519fbe329d65a49239271b1b520d;hp=885c88e622e481dcf2bf9fc53d054b41aa896a59;hpb=cd98d068d97cb6a981d931898c5a230cd8efc0a2;p=kivitendo-erp.git 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};