X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/76785737d502010ff059f356eb0a22ba34430e08..9090e6fada69453ed1df7a44b7beb1efd2a635e5:/SL/AP.pm diff --git a/SL/AP.pm b/SL/AP.pm index 594728546..e8dd4958a 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -746,7 +746,7 @@ sub setup_form { } $index = $form->{acc_trans}{$key}->[$i - 1]->{index}; - $form->{"tax_$index"} = $form->{acc_trans}{$key}->[$i - 1]->{amount} * -1; + $form->{"tax_$index"} = $form->round_amount($form->{acc_trans}{$key}->[$i - 1]->{amount} * -1 / $exchangerate, 2); $totaltax += $form->{"tax_$index"}; } else {