X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcp.pl;h=a8caa526b1f1d3eda12614bd57f9f2b94a730197;hb=83542c806dc5c249bf640e344eaf3831cdf2f2ea;hp=885c88e622e481dcf2bf9fc53d054b41aa896a59;hpb=ffac48200e07de28e9efcb20c668ba3f1e3ed12e;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};