X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ff159a4d47b9a2d10744dcfc23da2c63605c8a32..eeb5375ee7727c956cc357cc8f90b19d1bfe80b9:/SL/CP.pm diff --git a/SL/CP.pm b/SL/CP.pm index 75e753e07..278133f53 100644 --- a/SL/CP.pm +++ b/SL/CP.pm @@ -136,7 +136,7 @@ sub get_openinvoices { # if this is a foreign currency transaction get exchangerate $ref->{exchangerate} = - $form->get_exchangerate($dbh, $ref->{curr}, $ref->{transdate}, $buysell) + $form->check_exchangerate($myconfig, $ref->{curr}, $ref->{transdate}, $buysell) if ($form->{currency} ne $form->{defaultcurrency}); push @{ $form->{PR} }, $ref; }