[0000078] Opened Exchange rate for editing (without storing) in sales/purchasing...
[fa-stable.git] / reporting / rep101.php
index c98253f2ce46e94887ec38f3b8c9acf80d83bc9f..a206239a7ba82ef0c388109d2b957371399eaebc 100644 (file)
@@ -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)