X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8bd9c500423d1184629885136068e2246db008c8..04caff2d7309da75f53424675795addff173f32c:/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 {