X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep101.php;h=a206239a7ba82ef0c388109d2b957371399eaebc;hb=654b2cb832f5ad2313cfbbd98832681fae05943a;hp=c98253f2ce46e94887ec38f3b8c9acf80d83bc9f;hpb=fc6bcfacf8cde9f07d85dd6c139ff2cc2f4f9ce8;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)