X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep201.php;h=89169ce0567eb011cdebc0a9627e00f3b8b6fa91;hb=bf00f0e16df5974ecba17b59be8bc660bdf6b8a8;hp=92e85c0461c9be2c144bf4eb2bbe818a3bf4d087;hpb=340b94e61a41673eddf12bba3815c3d8dfe68408;p=fa-stable.git diff --git a/reporting/rep201.php b/reporting/rep201.php index 92e85c04..89169ce0 100644 --- a/reporting/rep201.php +++ b/reporting/rep201.php @@ -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)