X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep101.php;h=a206239a7ba82ef0c388109d2b957371399eaebc;hb=bf00f0e16df5974ecba17b59be8bc660bdf6b8a8;hp=c98253f2ce46e94887ec38f3b8c9acf80d83bc9f;hpb=b17df731b4bb055c2fdd568bc4be9e5caa0ee07b;p=fa-stable.git diff --git a/reporting/rep101.php b/reporting/rep101.php index c98253f2..a206239a 100644 --- a/reporting/rep101.php +++ b/reporting/rep101.php @@ -118,7 +118,7 @@ function print_customer_balances() $rep->TextCol(3, 4, sql2date($trans['due_date'])); $item[0] = $item[1] = 0.0; if ($convert) - $rate = get_exchange_rate_from_home_currency($myrow['curr_code'], $date); + $rate = $trans['rate']; else $rate = 1.0; if ($trans['type'] == 11 || $trans['type'] == 12 || $trans['type'] == 2)