X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9c7c96a8658c8a5f1144f11e619b9e5b0bdb854a..54ddc03:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index e5b403675..53de890e7 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -561,7 +561,7 @@ sub post_invoice { if ($form->{currency} eq $defaultcurrency) { $form->{exchangerate} = 1; } else { - $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{transdate}, 'buy'); + $exchangerate = $form->check_exchangerate($myconfig, $form->{currency}, $form->{invdate}, 'buy'); } $form->{exchangerate} =