[0000078] Opened Exchange rate for editing (without storing) in sales/purchasing...
[fa-stable.git] / reporting / rep201.php
index 92e85c0461c9be2c144bf4eb2bbe818a3bf4d087..89169ce0567eb011cdebc0a9627e00f3b8b6fa91 100644 (file)
@@ -118,7 +118,8 @@ function print_supplier_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 = get_exchange_rate_from_home_currency($myrow['curr_code'], $date);
+                               $rate = $trans['rate'];
                        else
                                $rate = 1.0;
                        if ($trans['TotalAmount'] > 0.0)